Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) 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.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IDEAS_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.0008064/0.0008067, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.001014/0.001014, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.2 MB / 240 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7489/0.7489, allocations: 132.3 MB / 423.4 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003424, allocations: 8 kB / 0.5035 GB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5011/0.5015, allocations: 81.58 MB / 0.5831 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.2019/0.7034, allocations: 175.3 MB / 0.7543 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006334/0.7098, allocations: 3.788 MB / 0.758 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.711, allocations: 15.88 kB / 0.7581 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.7123, allocations: 309.9 kB / 0.7584 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004518/0.7168, allocations: 1.139 MB / 0.7595 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003602/0.7204, allocations: 0.9657 MB / 0.7604 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002914/0.7234, allocations: 1.986 MB / 0.7623 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.7245, allocations: 0.8346 MB / 0.7632 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.7262, allocations: 0.8526 MB / 0.764 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.7274, allocations: 0.8294 MB / 0.7648 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.7275, allocations: 72 kB / 0.7649 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00214/0.7297, allocations: 0.7093 MB / 0.7656 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000351/0.73, allocations: 331 kB / 0.7659 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002712/0.7303, allocations: 177.3 kB / 0.766 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.7316, allocations: 1.075 MB / 0.7671 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.7317, allocations: 0 / 0.7671 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.993e-06/0.7317, allocations: 0 / 0.7671 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.7317, allocations: 0 / 0.7671 GB, free: 3.723 MB / 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.002599/0.7343, allocations: 1.193 MB / 0.7683 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.7343, allocations: 8.031 kB / 0.7683 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000134/0.7345, allocations: 94.5 kB / 0.7684 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.7359, allocations: 230.8 kB / 0.7686 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008773/0.7368, allocations: 0.5647 MB / 0.7691 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/0.7369, allocations: 37 kB / 0.7692 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.737, allocations: 67.78 kB / 0.7692 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.7385, allocations: 0.9609 MB / 0.7702 GB, free: 412 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.7385, allocations: 3.953 kB / 0.7702 GB, free: 408 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.162e-05/0.7386, allocations: 24 kB / 0.7702 GB, free: 384 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.882e-05/0.7386, allocations: 27.98 kB / 0.7702 GB, free: 356 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.7401, allocations: 0.9446 MB / 0.7711 GB, free: 15.4 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.005267/0.7454, allocations: 4.18 MB / 0.7752 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009713/0.7464, allocations: 0.6017 MB / 0.7758 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007963/0.7472, allocations: 0.5175 MB / 0.7763 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/0.7484, allocations: 0.8939 MB / 0.7772 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.7484, allocations: 39 kB / 0.7772 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001407/0.7498, allocations: 359.2 kB / 0.7776 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 4.168e-06/0.7498, allocations: 0 / 0.7776 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.01542/0.7653, allocations: 3.689 MB / 0.7812 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.7653, allocations: 67.83 kB / 0.7812 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009903/0.7663, allocations: 0.6961 MB / 0.7819 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.7665, allocations: 33.7 kB / 0.782 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/0.7667, allocations: 320.6 kB / 0.7823 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/0.767, allocations: 177.4 kB / 0.7824 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.7671, allocations: 8 kB / 0.7824 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.7672, allocations: 330 kB / 0.7828 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006266/0.7678, allocations: 396.9 kB / 0.7831 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000677/0.7685, allocations: 497.5 kB / 0.7836 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000704/0.7692, allocations: 448.7 kB / 0.784 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.7693, allocations: 0 / 0.784 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.009905/0.7792, allocations: 2.478 MB / 0.7865 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.769e-05/0.7792, allocations: 8 kB / 0.7865 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.7793, allocations: 3.953 kB / 0.7865 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008018/0.7873, allocations: 1.546 MB / 0.788 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005082/0.7878, allocations: 95.88 kB / 0.7881 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/0.7991, allocations: 6.532 MB / 0.7944 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009389/0.8001, allocations: 31.97 kB / 0.7945 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-05/0.8002, allocations: 55.92 kB / 0.7945 GB, free: 6.648 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 (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.0003779/0.8006, allocations: 211.2 kB / 0.7947 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.8007, allocations: 86.92 kB / 0.7948 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004647/0.8054, allocations: 1.664 MB / 0.7964 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.8054, allocations: 11.95 kB / 0.7964 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.8054, allocations: 7.938 kB / 0.7965 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.8055, allocations: 3.984 kB / 0.7965 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005491/0.8109, allocations: 2.473 MB / 0.7989 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.811, allocations: 0 / 0.7989 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004237/0.8114, allocations: 96.02 kB / 0.799 GB, free: 2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00295/0.8144, allocations: 0.6652 MB / 0.7996 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.104e-05/0.8144, allocations: 16 kB / 0.7996 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006493/0.8209, allocations: 4.409 MB / 0.8039 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.821, allocations: 8 kB / 0.8039 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005135/0.8261, allocations: 2.081 MB / 0.806 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006405/0.8268, allocations: 239.9 kB / 0.8062 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002714/0.827, allocations: 12 kB / 0.8062 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007112/0.8278, allocations: 31.98 kB / 0.8062 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.828, allocations: 60.38 kB / 0.8063 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/0.828, allocations: 16 kB / 0.8063 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007663/0.8288, allocations: 499 kB / 0.8068 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8288, allocations: 0 / 0.8068 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001348/0.8301, allocations: 291.8 kB / 0.8071 GB, free: 9.363 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 (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.005617/0.8358, allocations: 2.747 MB / 0.8098 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003167/0.839, allocations: 1.39 MB / 0.8111 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.839, allocations: 0 / 0.8111 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.8407, allocations: 0.8835 MB / 0.812 GB, free: 4.246 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/0.8431, allocations: 452.9 kB / 0.8124 GB, free: 3.816 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3129/1.156, allocations: 6.999 MB / 0.8192 GB, free: 217.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005431/1.157, allocations: 0.9823 MB / 0.8202 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008082/1.157, allocations: 157.3 kB / 0.8204 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004211/1.158, allocations: 283.1 kB / 0.8206 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of SimCode: time 8.72e-07/1.158, allocations: 0 / 0.8206 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04677/1.205, allocations: 28.08 MB / 0.848 GB, free: 204 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001373/1.205, allocations: 228.6 kB / 0.8483 GB, free: 203.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/3.681, allocations: 0 / 0.8483 GB, free: 203.8 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_PowerLaw.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) Environment - environmentSimulation: