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.00128/0.00128, allocations: 91.53 kB / 15.36 MB, free: 0.7344 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.007433/0.007433, allocations: 169.1 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.14/1.14, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 2.716/2.716, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003688, allocations: 8.594 kB / 0.5077 GB, free: 4.602 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2414, allocations: 82.31 MB / 0.5881 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.7979/1.039, allocations: 187.9 MB / 0.7715 GB, free: 460 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007387/1.047, allocations: 4.017 MB / 0.7755 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/1.048, allocations: 19.88 kB / 0.7755 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/1.049, allocations: 397.8 kB / 0.7759 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00435/1.054, allocations: 1.439 MB / 0.7773 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004063/1.058, allocations: 1.245 MB / 0.7785 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003304/1.061, allocations: 2.35 MB / 0.7808 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/1.062, allocations: 0.8756 MB / 0.7816 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/1.064, allocations: 0.8485 MB / 0.7825 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/1.065, allocations: 0.8682 MB / 0.7833 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001279/1.065, allocations: 72 kB / 0.7834 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003084/1.068, allocations: 1.562 MB / 0.7849 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003578/1.069, allocations: 338.9 kB / 0.7852 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000549/1.069, allocations: 0.5072 MB / 0.7857 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002483/1.072, allocations: 1.682 MB / 0.7874 GB, free: 196 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/1.072, allocations: 4 kB / 0.7874 GB, free: 192 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/1.072, allocations: 0 / 0.7874 GB, free: 192 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.729e-06/1.072, allocations: 0 / 0.7874 GB, free: 192 kB / 0.5919 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.002644/1.074, allocations: 1.188 MB / 0.7885 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/1.074, allocations: 12.03 kB / 0.7885 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001644/1.075, allocations: 86.52 kB / 0.7886 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/1.076, allocations: 242.8 kB / 0.7888 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009214/1.077, allocations: 0.5836 MB / 0.7894 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.424e-05/1.077, allocations: 37 kB / 0.7894 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/1.077, allocations: 55.98 kB / 0.7895 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/1.079, allocations: 0.9648 MB / 0.7904 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/1.079, allocations: 3.938 kB / 0.7904 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.031e-05/1.079, allocations: 24 kB / 0.7905 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.584e-05/1.079, allocations: 27.98 kB / 0.7905 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/1.081, allocations: 0.9601 MB / 0.7914 GB, free: 11.85 MB / 0.6075 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.006243/1.087, allocations: 4.181 MB / 0.7955 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/1.088, allocations: 0.6044 MB / 0.7961 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008369/1.089, allocations: 0.5287 MB / 0.7966 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/1.09, allocations: 0.8939 MB / 0.7975 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/1.09, allocations: 35 kB / 0.7975 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001715/1.092, allocations: 359.1 kB / 0.7979 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 3.006e-06/1.092, allocations: 4 kB / 0.7979 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.01798/1.11, allocations: 3.689 MB / 0.8015 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/1.11, allocations: 63.78 kB / 0.8015 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/1.111, allocations: 0.7117 MB / 0.8022 GB, free: 344 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001555/1.111, allocations: 33.7 kB / 0.8023 GB, free: 304 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/1.111, allocations: 320.6 kB / 0.8026 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/1.112, allocations: 181.4 kB / 0.8027 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.573e-05/1.112, allocations: 37.7 kB / 0.8028 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001196/1.112, allocations: 326 kB / 0.8031 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000668/1.113, allocations: 404.9 kB / 0.8035 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000712/1.113, allocations: 493.5 kB / 0.804 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/1.115, allocations: 0.9336 MB / 0.8049 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.115, allocations: 0 / 0.8049 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01164/1.126, allocations: 2.482 MB / 0.8073 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.991e-05/1.127, allocations: 4 kB / 0.8073 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/1.127, allocations: 7.984 kB / 0.8073 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009579/1.136, allocations: 1.566 MB / 0.8088 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005314/1.137, allocations: 91.88 kB / 0.8089 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/1.148, allocations: 6.552 MB / 0.8153 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009762/1.15, allocations: 39.89 kB / 0.8154 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.892e-05/1.15, allocations: 43.94 kB / 0.8154 GB, free: 2.488 MB / 0.6231 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.0004008/1.15, allocations: 214.5 kB / 0.8156 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/1.15, allocations: 83.06 kB / 0.8157 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005171/1.155, allocations: 1.671 MB / 0.8173 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/1.155, allocations: 8 kB / 0.8173 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/1.155, allocations: 8.812 kB / 0.8173 GB, free: 500 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/1.155, allocations: 7.984 kB / 0.8173 GB, free: 492 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006566/1.162, allocations: 2.47 MB / 0.8197 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/1.162, allocations: 4 kB / 0.8197 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004982/1.163, allocations: 91.83 kB / 0.8198 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003296/1.166, allocations: 0.6612 MB / 0.8205 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-05/1.166, allocations: 20.23 kB / 0.8205 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007342/1.173, allocations: 4.42 MB / 0.8248 GB, free: 8.461 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.173, allocations: 0 / 0.8248 GB, free: 8.461 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006029/1.179, allocations: 2.1 MB / 0.8269 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000723/1.18, allocations: 232 kB / 0.8271 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003099/1.18, allocations: 12 kB / 0.8271 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009049/1.181, allocations: 35.88 kB / 0.8271 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002643/1.182, allocations: 60.38 kB / 0.8272 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.679e-05/1.182, allocations: 20 kB / 0.8272 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009458/1.183, allocations: 0.4951 MB / 0.8277 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.71e-07/1.183, allocations: 0 / 0.8277 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001473/1.184, allocations: 291.8 kB / 0.828 GB, free: 5.168 MB / 0.6387 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.006573/1.191, allocations: 2.752 MB / 0.8307 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003933/1.195, allocations: 1.437 MB / 0.8321 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.195, allocations: 0 / 0.8321 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001889/1.197, allocations: 0.8836 MB / 0.8329 GB, free: 0 / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002901/1.2, allocations: 438.5 kB / 0.8333 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03092/1.231, allocations: 10.83 MB / 0.8439 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006133/1.231, allocations: 0.9828 MB / 0.8449 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008875/1.232, allocations: 158.6 kB / 0.845 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004133/1.233, allocations: 287.3 kB / 0.8453 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of SimCode: time 9.12e-07/1.233, allocations: 0 / 0.8453 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.413/1.646, allocations: 27.89 MB / 0.8725 GB, free: 216.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/1.646, allocations: 256.1 kB / 0.8728 GB, free: 215.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.691/4.337, allocations: 0 / 0.8728 GB, free: 215.9 MB / 0.67 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/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)