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.00417/0.00417, allocations: 98.77 kB / 15.73 MB, free: 6.066 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.001201/0.001201, allocations: 196.1 kB / 16.68 MB, free: 5.973 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7877/0.7877, allocations: 132.2 MB / 422.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 69.58 kB / 0.5809 GB, free: 23.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1248, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.4546/0.5795, allocations: 192.6 MB / 0.8473 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005834/0.5853, allocations: 4.012 MB / 0.8512 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000728/0.5861, allocations: 20.78 kB / 0.8512 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.5873, allocations: 477 kB / 0.8517 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003242/0.5905, allocations: 1.537 MB / 0.8532 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.5935, allocations: 1.351 MB / 0.8545 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0019/0.5954, allocations: 1.635 MB / 0.8561 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/0.5965, allocations: 0.9544 MB / 0.857 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.5976, allocations: 0.921 MB / 0.8579 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009983/0.5986, allocations: 0.8525 MB / 0.8588 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.5987, allocations: 95.22 kB / 0.8589 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002022/0.6008, allocations: 1.303 MB / 0.8601 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003567/0.6011, allocations: 354.9 kB / 0.8605 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005313/0.6017, allocations: 0.5133 MB / 0.861 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.6036, allocations: 1.65 MB / 0.8626 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.6036, allocations: 4 kB / 0.8626 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6036, allocations: 0 / 0.8626 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.6037, allocations: 0 / 0.8626 GB, free: 5.871 MB / 0.6231 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.002857/0.6065, allocations: 1.478 MB / 0.864 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.6066, allocations: 8.031 kB / 0.864 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.6067, allocations: 90.52 kB / 0.8641 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.6082, allocations: 239.2 kB / 0.8644 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008722/0.609, allocations: 0.6194 MB / 0.865 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/0.6091, allocations: 33 kB / 0.865 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.6092, allocations: 55.98 kB / 0.865 GB, free: 3.246 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.6107, allocations: 0.9609 MB / 0.866 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.6108, allocations: 7.938 kB / 0.866 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.683e-05/0.6108, allocations: 24 kB / 0.866 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.556e-05/0.6109, allocations: 35.92 kB / 0.866 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.6125, allocations: 0.9367 MB / 0.867 GB, free: 1.211 MB / 0.6231 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.005144/0.6176, allocations: 4.259 MB / 0.8711 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009831/0.6186, allocations: 0.5978 MB / 0.8717 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007835/0.6194, allocations: 0.5136 MB / 0.8722 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/0.6204, allocations: 0.8783 MB / 0.8731 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.6205, allocations: 42.98 kB / 0.8731 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001323/0.6218, allocations: 411.5 kB / 0.8735 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=50): time 1.843e-06/0.6218, allocations: 0 / 0.8735 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of matching and sorting (n=50): time 0.01767/0.6395, allocations: 3.849 MB / 0.8773 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.6396, allocations: 63.78 kB / 0.8773 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000832/0.6404, allocations: 0.7155 MB / 0.878 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.6405, allocations: 33.7 kB / 0.878 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.6407, allocations: 320.9 kB / 0.8784 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.6409, allocations: 190.3 kB / 0.8785 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/0.6412, allocations: 146.1 kB / 0.8787 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.6413, allocations: 326 kB / 0.879 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006775/0.642, allocations: 396.9 kB / 0.8794 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000754/0.6428, allocations: 485.5 kB / 0.8798 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.6443, allocations: 0.9219 MB / 0.8807 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.6443, allocations: 4 kB / 0.8807 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01128/0.6556, allocations: 2.557 MB / 0.8832 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.6556, allocations: 5.875 kB / 0.8832 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.6556, allocations: 4 kB / 0.8832 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009619/0.6653, allocations: 1.737 MB / 0.8849 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004011/0.6657, allocations: 89.75 kB / 0.885 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01278/0.6785, allocations: 7.155 MB / 0.892 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006229/0.6791, allocations: 24.05 kB / 0.892 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-05/0.6792, allocations: 51.88 kB / 0.8921 GB, free: 6.641 MB / 0.6544 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.0003149/0.6795, allocations: 206.6 kB / 0.8923 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.6797, allocations: 83.48 kB / 0.8924 GB, free: 6.348 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005038/0.6848, allocations: 1.738 MB / 0.894 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.6848, allocations: 11.94 kB / 0.8941 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.6848, allocations: 8 kB / 0.8941 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.6848, allocations: 3.984 kB / 0.8941 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005758/0.6906, allocations: 2.528 MB / 0.8965 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.6906, allocations: 13 kB / 0.8966 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/0.691, allocations: 83.89 kB / 0.8966 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003364/0.6944, allocations: 0.8016 MB / 0.8974 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.888e-05/0.6944, allocations: 12 kB / 0.8974 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006911/0.7013, allocations: 4.863 MB / 0.9022 GB, free: 11.91 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.7014, allocations: 128 / 0.9022 GB, free: 11.91 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005219/0.7066, allocations: 2.151 MB / 0.9043 GB, free: 9.715 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003275/0.7069, allocations: 244.6 kB / 0.9045 GB, free: 9.457 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.707, allocations: 15.98 kB / 0.9045 GB, free: 9.441 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005406/0.7076, allocations: 19.98 kB / 0.9045 GB, free: 9.422 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.7078, allocations: 56.38 kB / 0.9046 GB, free: 9.367 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/0.7078, allocations: 20 kB / 0.9046 GB, free: 9.348 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006032/0.7084, allocations: 0.499 MB / 0.9051 GB, free: 8.852 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7084, allocations: 0 / 0.9051 GB, free: 8.852 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007971/0.7092, allocations: 291.7 kB / 0.9054 GB, free: 8.566 MB / 0.67 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.00579/0.715, allocations: 2.799 MB / 0.9081 GB, free: 5.719 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003373/0.7184, allocations: 1.468 MB / 0.9096 GB, free: 4.227 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7184, allocations: 0 / 0.9096 GB, free: 4.227 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.7202, allocations: 0.9186 MB / 0.9104 GB, free: 3.281 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.7222, allocations: 475.8 kB / 0.9109 GB, free: 2.832 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0295/0.7517, allocations: 10.46 MB / 0.9211 GB, free: 8.191 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006035/0.7524, allocations: 0.9828 MB / 0.9221 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005296/0.7529, allocations: 166.6 kB / 0.9222 GB, free: 7.016 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003946/0.7533, allocations: 279.3 kB / 0.9225 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of SimCode: time 2.41e-07/0.7533, allocations: 0 / 0.9225 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06362/0.8169, allocations: 29.65 MB / 0.9515 GB, free: 9.41 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.61, allocations: 2.625 kB / 0.9515 GB, free: 9.41 MB / 0.7169 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/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)