Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.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.001613/0.001613, allocations: 105.3 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.001826/0.001826, 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.547/1.547, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.137/1.137, allocations: 175.7 MB / 478.4 MB, free: 3.418 MB / 366.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-master/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.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 68.25 kB / 0.6652 GB, free: 11.16 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2089, allocations: 94.54 MB / 0.7575 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.6238/0.8327, allocations: 193.3 MB / 0.9463 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.006558/0.8393, allocations: 4.027 MB / 0.9503 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009541/0.8402, allocations: 20.56 kB / 0.9503 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.8416, allocations: 493.7 kB / 0.9507 GB, free: 2.344 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003947/0.8456, allocations: 1.589 MB / 0.9523 GB, free: 1.129 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003475/0.8491, allocations: 1.37 MB / 0.9536 GB, free: 136 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00243/0.8515, allocations: 1.619 MB / 0.9552 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.8528, allocations: 0.8605 MB / 0.9561 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002267/0.855, allocations: 1.104 MB / 0.9571 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/0.8564, allocations: 0.9051 MB / 0.958 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002168/0.8566, allocations: 96 kB / 0.9581 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002827/0.8595, allocations: 1.383 MB / 0.9595 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004657/0.8599, allocations: 362.9 kB / 0.9598 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0007165/0.8606, allocations: 0.5172 MB / 0.9603 GB, free: 11 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003023/0.8637, allocations: 1.669 MB / 0.9619 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.8637, allocations: 4 kB / 0.9619 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8637, allocations: 0 / 0.9619 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.747e-05/0.8637, allocations: 0 / 0.9619 GB, free: 9.328 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002873/0.8666, allocations: 1.272 MB / 0.9632 GB, free: 8 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.8666, allocations: 8.031 kB / 0.9632 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001374/0.8667, allocations: 94.52 kB / 0.9633 GB, free: 7.891 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.8684, allocations: 239.2 kB / 0.9635 GB, free: 7.656 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.8695, allocations: 0.6272 MB / 0.9641 GB, free: 6.988 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.8696, allocations: 33 kB / 0.9642 GB, free: 6.957 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.8697, allocations: 48 kB / 0.9642 GB, free: 6.91 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.8714, allocations: 1.004 MB / 0.9652 GB, free: 5.84 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.8714, allocations: 3.938 kB / 0.9652 GB, free: 5.836 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.952e-05/0.8715, allocations: 24 kB / 0.9652 GB, free: 5.812 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-05/0.8716, allocations: 31.92 kB / 0.9652 GB, free: 5.781 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.8734, allocations: 1.011 MB / 0.9662 GB, free: 4.766 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006102/0.8795, allocations: 4.137 MB / 0.9703 GB, free: 468 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.8806, allocations: 0.5641 MB / 0.9708 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008351/0.8814, allocations: 485.9 kB / 0.9713 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/0.8826, allocations: 0.8783 MB / 0.9721 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.8826, allocations: 39 kB / 0.9722 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002535/0.8851, allocations: 0.64 MB / 0.9728 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=50): time 4.489e-06/0.8852, allocations: 0 / 0.9728 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=50): time 0.01846/0.9036, allocations: 3.83 MB / 0.9765 GB, free: 9.773 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.9037, allocations: 55.84 kB / 0.9766 GB, free: 9.707 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.9048, allocations: 0.7155 MB / 0.9773 GB, free: 8.98 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001711/0.905, allocations: 37.7 kB / 0.9773 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/0.9053, allocations: 313 kB / 0.9776 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003142/0.9056, allocations: 194.3 kB / 0.9778 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003103/0.906, allocations: 150.1 kB / 0.978 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.9061, allocations: 326 kB / 0.9783 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008006/0.9069, allocations: 400.9 kB / 0.9786 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008333/0.9077, allocations: 481.5 kB / 0.9791 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/0.9094, allocations: 0.9219 MB / 0.98 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.9094, allocations: 0 / 0.98 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01214/0.9216, allocations: 2.557 MB / 0.9825 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.9216, allocations: 16 kB / 0.9825 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.9216, allocations: 4 kB / 0.9825 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/0.9318, allocations: 1.73 MB / 0.9842 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/0.9323, allocations: 91.88 kB / 0.9843 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0148/0.9471, allocations: 7.144 MB / 0.9913 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.9482, allocations: 20.05 kB / 0.9913 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001875/0.9484, allocations: 43.94 kB / 0.9913 GB, free: 10.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005931/0.949, allocations: 205.7 kB / 0.9915 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003468/0.9493, allocations: 87.48 kB / 0.9916 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005554/0.9549, allocations: 1.73 MB / 0.9933 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.9549, allocations: 8 kB / 0.9933 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.9549, allocations: 7.938 kB / 0.9933 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.9549, allocations: 3.984 kB / 0.9933 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007147/0.962, allocations: 2.524 MB / 0.9958 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.9621, allocations: 4 kB / 0.9958 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000513/0.9626, allocations: 87.88 kB / 0.9959 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00369/0.9663, allocations: 0.8022 MB / 0.9967 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.9664, allocations: 20 kB / 0.9967 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007932/0.9743, allocations: 4.847 MB / 1.001 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.9743, allocations: 4 kB / 1.001 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005984/0.9803, allocations: 2.144 MB / 1.004 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000632/0.9809, allocations: 236.5 kB / 1.004 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/0.9811, allocations: 19.98 kB / 1.004 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000662/0.9818, allocations: 19.98 kB / 1.004 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/0.982, allocations: 56.38 kB / 1.004 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.548e-05/0.9821, allocations: 20 kB / 1.004 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008203/0.9829, allocations: 0.499 MB / 1.004 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9829, allocations: 4 kB / 1.004 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001163/0.984, allocations: 283.8 kB / 1.005 GB, free: 12.16 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006628/0.9907, allocations: 2.806 MB / 1.007 GB, free: 9.309 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003903/0.9946, allocations: 1.406 MB / 1.009 GB, free: 7.879 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.9946, allocations: 4 kB / 1.009 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002023/0.9966, allocations: 0.8599 MB / 1.01 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/0.9989, allocations: 462 kB / 1.01 GB, free: 6.539 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03273/1.032, allocations: 10.44 MB / 1.02 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007494/1.032, allocations: 0.9789 MB / 1.021 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007202/1.033, allocations: 162.6 kB / 1.021 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004816/1.034, allocations: 279.3 kB / 1.022 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of SimCode: time 9.32e-07/1.034, allocations: 0 / 1.022 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07446/1.108, allocations: 29.84 MB / 1.051 GB, free: 12.97 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.95, allocations: 8 kB / 1.051 GB, free: 12.96 MB / 0.795 GB " [Timeout remaining time 647] (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.0279591800645] Failed to read output from testmodel.py, exit status != 0: 13.047480071894825 13.073395163 12.204553141 Calling exit ...