Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_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.0008548/0.0008549, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008938/0.0008939, allocations: 175.6 kB / 16.91 MB, free: 6.645 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.169/1.169, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6101/0.6101, allocations: 115.5 MB / 407.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003223, allocations: 11.94 kB / 495.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1215, allocations: 77.53 MB / 0.56 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.3704/0.4919, allocations: 187.9 MB / 0.7435 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00507/0.497, allocations: 4.019 MB / 0.7474 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006037/0.4976, allocations: 19.88 kB / 0.7474 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009407/0.4985, allocations: 393.9 kB / 0.7478 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002839/0.5014, allocations: 1.447 MB / 0.7492 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002578/0.504, allocations: 1.236 MB / 0.7504 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002248/0.5063, allocations: 2.349 MB / 0.7527 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.5073, allocations: 0.871 MB / 0.7536 GB, free: 492 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.5086, allocations: 0.8563 MB / 0.7544 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.5097, allocations: 0.8643 MB / 0.7553 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.5099, allocations: 72 kB / 0.7553 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.512, allocations: 1.574 MB / 0.7569 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000326/0.5124, allocations: 323 kB / 0.7572 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005176/0.5129, allocations: 0.5111 MB / 0.7577 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.5148, allocations: 1.682 MB / 0.7593 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5148, allocations: 0 / 0.7593 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5148, allocations: 0 / 0.7593 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.964e-05/0.5148, allocations: 0 / 0.7593 GB, free: 10.58 MB / 0.5762 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.00235/0.5172, allocations: 1.188 MB / 0.7605 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.5172, allocations: 8.031 kB / 0.7605 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001338/0.5174, allocations: 90.52 kB / 0.7606 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.5188, allocations: 238.7 kB / 0.7608 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007425/0.5196, allocations: 0.5837 MB / 0.7614 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.5196, allocations: 41 kB / 0.7614 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.5197, allocations: 48 kB / 0.7615 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.5211, allocations: 0.9726 MB / 0.7624 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.5211, allocations: 7.844 kB / 0.7624 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.21e-05/0.5212, allocations: 20 kB / 0.7624 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-05/0.5212, allocations: 35.92 kB / 0.7625 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.5226, allocations: 0.9484 MB / 0.7634 GB, free: 6.238 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.004332/0.5269, allocations: 4.188 MB / 0.7675 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008412/0.5278, allocations: 0.615 MB / 0.7681 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006839/0.5285, allocations: 0.5136 MB / 0.7686 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000885/0.5294, allocations: 0.89 MB / 0.7695 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.5294, allocations: 43 kB / 0.7695 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001325/0.5308, allocations: 355.2 kB / 0.7698 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 1.783e-06/0.5308, allocations: 0 / 0.7698 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.01658/0.5474, allocations: 3.697 MB / 0.7734 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.5474, allocations: 55.84 kB / 0.7735 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007135/0.5481, allocations: 0.7116 MB / 0.7742 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.779e-05/0.5482, allocations: 33.7 kB / 0.7742 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.5484, allocations: 324.6 kB / 0.7745 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.5485, allocations: 173.4 kB / 0.7747 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.085e-05/0.5486, allocations: 49.69 kB / 0.7747 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.715e-05/0.5487, allocations: 330 kB / 0.7751 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006021/0.5493, allocations: 396.9 kB / 0.7754 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006405/0.55, allocations: 493.5 kB / 0.7759 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.5513, allocations: 0.9297 MB / 0.7768 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5513, allocations: 0 / 0.7768 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0107/0.562, allocations: 2.49 MB / 0.7792 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.5621, allocations: 7.938 kB / 0.7793 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5621, allocations: 4 kB / 0.7793 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008885/0.571, allocations: 1.546 MB / 0.7808 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.5714, allocations: 91.86 kB / 0.7809 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/0.5821, allocations: 6.563 MB / 0.7873 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006219/0.5828, allocations: 35.97 kB / 0.7873 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.976e-05/0.5829, allocations: 43.94 kB / 0.7873 GB, free: 12.88 MB / 0.6075 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.0002721/0.5831, allocations: 209.7 kB / 0.7875 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.5833, allocations: 86.95 kB / 0.7876 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004856/0.5881, allocations: 1.679 MB / 0.7893 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.5882, allocations: 4 kB / 0.7893 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.5882, allocations: 4 kB / 0.7893 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5882, allocations: 3.984 kB / 0.7893 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005293/0.5935, allocations: 2.481 MB / 0.7917 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.5935, allocations: 7.984 kB / 0.7917 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/0.5939, allocations: 91.83 kB / 0.7918 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003143/0.597, allocations: 0.6612 MB / 0.7924 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/0.5971, allocations: 19.92 kB / 0.7925 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005682/0.6028, allocations: 4.415 MB / 0.7968 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6028, allocations: 8 kB / 0.7968 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004792/0.6076, allocations: 2.089 MB / 0.7988 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002693/0.6079, allocations: 231.9 kB / 0.799 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.608, allocations: 12 kB / 0.799 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005649/0.6086, allocations: 43.88 kB / 0.7991 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.6087, allocations: 52.38 kB / 0.7991 GB, free: 360 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/0.6088, allocations: 20 kB / 0.7992 GB, free: 340 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005301/0.6093, allocations: 0.5029 MB / 0.7997 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6093, allocations: 3.938 kB / 0.7997 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000711/0.61, allocations: 287.8 kB / 0.7999 GB, free: 15.55 MB / 0.6231 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.005247/0.6153, allocations: 2.752 MB / 0.8026 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002967/0.6182, allocations: 1.422 MB / 0.804 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6183, allocations: 3.938 kB / 0.804 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001601/0.6199, allocations: 0.8913 MB / 0.8049 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/0.622, allocations: 439.4 kB / 0.8053 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02762/0.6496, allocations: 10.84 MB / 0.8159 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/0.6501, allocations: 0.9789 MB / 0.8168 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005167/0.6506, allocations: 158.6 kB / 0.817 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003512/0.6509, allocations: 283.3 kB / 0.8173 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of SimCode: time 2.91e-07/0.6509, allocations: 0 / 0.8173 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.098/2.749, allocations: 27.89 MB / 0.8445 GB, free: 227.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001441/2.749, allocations: 253 kB / 0.8447 GB, free: 227.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.684/5.434, allocations: 0 / 0.8447 GB, free: 227.1 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)