Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8153/0.8153, allocations: 133.9 MB / 436.6 MB, free: 13.66 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 67.91 kB / 0.6051 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3416, allocations: 84.66 MB / 0.6878 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.00192/0.3435, allocations: 1.298 MB / 0.6891 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004424/0.3439, allocations: 305.2 kB / 0.6894 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.897e-05/0.344, allocations: 4 kB / 0.6894 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.919e-05/0.344, allocations: 0 / 0.6894 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.982e-05/0.3441, allocations: 18.41 kB / 0.6894 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.3443, allocations: 66.86 kB / 0.6894 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.002e-05/0.3444, allocations: 45.56 kB / 0.6895 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.3444, allocations: 5.156 kB / 0.6895 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.077e-05/0.3445, allocations: 33.23 kB / 0.6895 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.827e-05/0.3445, allocations: 9.688 kB / 0.6895 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.3446, allocations: 4.875 kB / 0.6895 GB, free: 472 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.3447, allocations: 82.66 kB / 0.6896 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.3447, allocations: 5.219 kB / 0.6896 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.3447, allocations: 21.36 kB / 0.6896 GB, free: 408 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.3449, allocations: 72.59 kB / 0.6897 GB, free: 368 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3449, allocations: 1.469 kB / 0.6897 GB, free: 368 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3449, allocations: 0 / 0.6897 GB, free: 368 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.3449, allocations: 0 / 0.6897 GB, free: 368 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003012/0.3452, allocations: 355.4 kB / 0.6901 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.3452, allocations: 9.156 kB / 0.6901 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.066e-05/0.3452, allocations: 30.75 kB / 0.6901 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.201e-05/0.3453, allocations: 3.375 kB / 0.6901 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.3454, allocations: 179.2 kB / 0.6903 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3454, allocations: 4.375 kB / 0.6903 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.3454, allocations: 5.438 kB / 0.6903 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.3455, allocations: 31.33 kB / 0.6903 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3455, allocations: 0 / 0.6903 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.3455, allocations: 1.031 kB / 0.6903 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3455, allocations: 5.234 kB / 0.6903 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.758e-05/0.3456, allocations: 13.53 kB / 0.6903 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.3457, allocations: 159.2 kB / 0.6905 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.739e-05/0.3458, allocations: 42.28 kB / 0.6905 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.132e-05/0.3459, allocations: 12.92 kB / 0.6905 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001151/0.347, allocations: 1.181 MB / 0.6917 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.347, allocations: 39.78 kB / 0.6917 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.347, allocations: 0 / 0.6917 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0001568/0.3472, allocations: 51.91 kB / 0.6918 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.3472, allocations: 56.69 kB / 0.6918 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.853e-05/0.3473, allocations: 110.5 kB / 0.6919 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.3473, allocations: 26.89 kB / 0.692 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.3474, allocations: 80.14 kB / 0.692 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.3474, allocations: 16.78 kB / 0.692 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.3474, allocations: 18.03 kB / 0.6921 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.3476, allocations: 316.2 kB / 0.6924 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.3476, allocations: 2.844 kB / 0.6924 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.332e-05/0.3476, allocations: 7.188 kB / 0.6924 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.7e-05/0.3476, allocations: 20.77 kB / 0.6924 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3476, allocations: 0 / 0.6924 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.052e-05/0.3477, allocations: 45.88 kB / 0.6924 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.3477, allocations: 4.719 kB / 0.6924 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3477, allocations: 5 kB / 0.6924 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.3477, allocations: 0 / 0.6924 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.852e-05/0.3478, allocations: 8.922 kB / 0.6925 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.3478, allocations: 0 / 0.6925 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.3478, allocations: 8.969 kB / 0.6925 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.3478, allocations: 1.062 kB / 0.6925 GB, free: 13.27 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.661e-05/0.3479, allocations: 108.1 kB / 0.6926 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.3479, allocations: 10.11 kB / 0.6926 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.348, allocations: 63.97 kB / 0.6926 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.348, allocations: 1.094 kB / 0.6926 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.348, allocations: 0 / 0.6926 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.348, allocations: 3.984 kB / 0.6926 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.3482, allocations: 159.6 kB / 0.6928 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3482, allocations: 1.094 kB / 0.6928 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.516e-05/0.3482, allocations: 8.219 kB / 0.6928 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3482, allocations: 1.062 kB / 0.6928 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.3482, allocations: 1.156 kB / 0.6928 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3482, allocations: 4 kB / 0.6928 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3482, allocations: 0 / 0.6928 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.667e-05/0.3483, allocations: 79.83 kB / 0.6929 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/0.3484, allocations: 91.56 kB / 0.693 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.3484, allocations: 1.438 kB / 0.693 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.748e-05/0.3484, allocations: 1.375 kB / 0.693 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.052e-05/0.3484, allocations: 1.375 kB / 0.693 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.3484, allocations: 1.469 kB / 0.693 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.745e-05/0.3485, allocations: 92.58 kB / 0.6931 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.3485, allocations: 0 / 0.6931 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002176/0.3487, allocations: 28.5 kB / 0.6931 GB, free: 12.59 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004519/0.3491, allocations: 0.6299 MB / 0.6937 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.057e-05/0.3492, allocations: 22.14 kB / 0.6937 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3492, allocations: 0 / 0.6937 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.642e-05/0.3492, allocations: 9.75 kB / 0.6937 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.3494, allocations: 2.469 kB / 0.6937 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.3498, allocations: 168.1 kB / 0.6939 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.3501, allocations: 0.6825 MB / 0.6946 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.663e-05/0.3501, allocations: 7.656 kB / 0.6946 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.3502, allocations: 17.7 kB / 0.6946 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.3502, allocations: 0 / 0.6946 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.3752, allocations: 1.631 MB / 0.6962 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.388/7.763, allocations: 11.23 kB / 0.6962 GB, free: 10.21 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.857610206119716] Failed to read output from testmodel.py, exit status != 0: 7.8275899249129 7.843313064 7.495267405 Calling exit ...