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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002041/0.002041, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.504/2.504, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.554/1.554, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005784/0.0005785, allocations: 11.98 kB / 0.5069 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2488, allocations: 82.31 MB / 0.5873 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.7187/0.9676, allocations: 159.8 MB / 0.7433 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01274/0.9804, allocations: 4.074 MB / 0.7473 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.9821, allocations: 15.94 kB / 0.7473 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002352/0.9845, allocations: 411.2 kB / 0.7477 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008189/0.9927, allocations: 1.483 MB / 0.7491 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003448/0.9962, allocations: 0.6324 MB / 0.7498 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003443/0.9997, allocations: 0.9951 MB / 0.7507 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002156/1.002, allocations: 0.835 MB / 0.7516 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004133/1.006, allocations: 0.9622 MB / 0.7525 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001947/1.008, allocations: 0.6543 MB / 0.7531 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004472/1.008, allocations: 72 kB / 0.7532 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003596/1.012, allocations: 0.6748 MB / 0.7539 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007654/1.013, allocations: 311.2 kB / 0.7542 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006054/1.013, allocations: 177.3 kB / 0.7543 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002727/1.016, allocations: 1.029 MB / 0.7553 GB, free: 412 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.016, allocations: 0 / 0.7553 GB, free: 412 kB / 0.5606 GB Notification: Performance of FrontEnd: time 2.134e-06/1.016, allocations: 4 kB / 0.7553 GB, free: 408 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.461e-05/1.016, allocations: 0 / 0.7553 GB, free: 408 kB / 0.5606 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.004762/1.021, allocations: 1.178 MB / 0.7565 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/1.021, allocations: 8.031 kB / 0.7565 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003109/1.022, allocations: 98.5 kB / 0.7566 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003234/1.025, allocations: 246.6 kB / 0.7568 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001815/1.027, allocations: 0.5571 MB / 0.7574 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.882e-05/1.027, allocations: 37 kB / 0.7574 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002632/1.027, allocations: 55.91 kB / 0.7575 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002621/1.03, allocations: 0.9671 MB / 0.7584 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.827e-05/1.03, allocations: 3.938 kB / 0.7584 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/1.03, allocations: 24 kB / 0.7584 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.059e-05/1.03, allocations: 35.94 kB / 0.7585 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002787/1.033, allocations: 0.9484 MB / 0.7594 GB, free: 12.09 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00968/1.042, allocations: 4.167 MB / 0.7635 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/1.044, allocations: 0.623 MB / 0.7641 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/1.045, allocations: 0.716 MB / 0.7648 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/1.045, allocations: 39 kB / 0.7648 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002755/1.048, allocations: 351.3 kB / 0.7651 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=50): time 9.859e-06/1.048, allocations: 0 / 0.7651 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=50): time 0.03055/1.079, allocations: 3.682 MB / 0.7687 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/1.079, allocations: 59.78 kB / 0.7688 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/1.081, allocations: 0.7 MB / 0.7695 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002449/1.081, allocations: 37.7 kB / 0.7695 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/1.082, allocations: 328.6 kB / 0.7698 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004159/1.082, allocations: 177.4 kB / 0.77 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/1.082, allocations: 8 kB / 0.77 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000163/1.082, allocations: 322 kB / 0.7703 GB, free: 488 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/1.084, allocations: 400.9 kB / 0.7707 GB, free: 88 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/1.085, allocations: 489.5 kB / 0.7712 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/1.086, allocations: 452.6 kB / 0.7716 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/1.086, allocations: 0 / 0.7716 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01915/1.106, allocations: 2.478 MB / 0.774 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/1.106, allocations: 8 kB / 0.774 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/1.106, allocations: 0 / 0.774 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01634/1.122, allocations: 1.551 MB / 0.7755 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008345/1.123, allocations: 95.86 kB / 0.7756 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02035/1.143, allocations: 6.695 MB / 0.7822 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/1.145, allocations: 31.97 kB / 0.7822 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002758/1.145, allocations: 48.94 kB / 0.7822 GB, free: 3.934 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 4,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006941/1.146, allocations: 205.7 kB / 0.7824 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003548/1.146, allocations: 82.97 kB / 0.7825 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008734/1.155, allocations: 1.675 MB / 0.7841 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/1.155, allocations: 11.98 kB / 0.7842 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/1.155, allocations: 4.875 kB / 0.7842 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/1.155, allocations: 0 / 0.7842 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/1.165, allocations: 2.485 MB / 0.7866 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/1.165, allocations: 4.188 kB / 0.7866 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008448/1.166, allocations: 91.89 kB / 0.7867 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005964/1.172, allocations: 0.661 MB / 0.7873 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/1.172, allocations: 18.06 kB / 0.7873 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01282/1.185, allocations: 4.508 MB / 0.7917 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.185, allocations: 4 kB / 0.7917 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009941/1.195, allocations: 2.157 MB / 0.7939 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/1.196, allocations: 231.9 kB / 0.7941 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003554/1.197, allocations: 12 kB / 0.7941 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/1.198, allocations: 40.78 kB / 0.7941 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002854/1.198, allocations: 52.45 kB / 0.7942 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-05/1.198, allocations: 20 kB / 0.7942 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001446/1.2, allocations: 0.4951 MB / 0.7947 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.61e-07/1.2, allocations: 0 / 0.7947 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001888/1.202, allocations: 283.8 kB / 0.7949 GB, free: 6.445 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,92.0%) 3,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01103/1.213, allocations: 3.231 MB / 0.7981 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006096/1.219, allocations: 1.387 MB / 0.7995 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/1.219, allocations: 4 kB / 0.7995 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003396/1.222, allocations: 0.8876 MB / 0.8003 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003829/1.226, allocations: 439.5 kB / 0.8007 GB, free: 412 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03461/1.261, allocations: 8.171 MB / 0.8087 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/1.262, allocations: 0.9984 MB / 0.8097 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001427/1.263, allocations: 158.6 kB / 0.8099 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007357/1.264, allocations: 279.3 kB / 0.8101 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of SimCode: time 1.694e-06/1.264, allocations: 4 kB / 0.8101 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.258/3.522, allocations: 28.05 MB / 0.8375 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003137/3.523, allocations: 235.1 kB / 0.8377 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.691/9.213, allocations: 3.938 kB / 0.8377 GB, free: 10.73 MB / 0.6544 GB (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/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) Environment - environmentSimulation: