Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7896/0.7896, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 171.9 kB / 182.2 MB, free: 9.461 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009738/0.0009738, allocations: 91.38 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001743/0.001743, allocations: 286.5 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.411e-05/2.435e-05, allocations: 4 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3702, allocations: 82.78 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.4992, allocations: 108 MB / 0.863 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.4995, allocations: 83.92 kB / 0.863 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005286/0.5048, allocations: 1.789 MB / 0.8648 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5049, allocations: 0 / 0.8648 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.5049, allocations: 0 / 0.8648 GB, free: 1.871 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002898/0.5052, allocations: 354.4 kB / 0.8651 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.5052, allocations: 8.031 kB / 0.8651 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.5053, allocations: 7.906 kB / 0.8651 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.5054, allocations: 167.1 kB / 0.8653 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.5054, allocations: 3.953 kB / 0.8653 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.5054, allocations: 4 kB / 0.8653 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.928e-05/0.5055, allocations: 4 kB / 0.8653 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.09e-05/0.5056, allocations: 33.69 kB / 0.8653 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.5056, allocations: 4 kB / 0.8653 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.5056, allocations: 4 kB / 0.8654 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.5056, allocations: 0 / 0.8654 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000135/0.5057, allocations: 134.3 kB / 0.8655 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.949e-05/0.5058, allocations: 34.52 kB / 0.8655 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.975e-05/0.5059, allocations: 8.922 kB / 0.8655 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009389/0.5068, allocations: 1.171 MB / 0.8667 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.5068, allocations: 42.52 kB / 0.8667 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.5069, allocations: 3.938 kB / 0.8667 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0001755/0.507, allocations: 45.58 kB / 0.8668 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.5071, allocations: 55.41 kB / 0.8668 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.219e-05/0.5072, allocations: 93 kB / 0.8669 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.5072, allocations: 25.7 kB / 0.8669 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.739e-05/0.5072, allocations: 92.08 kB / 0.867 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.5073, allocations: 11.89 kB / 0.867 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.5073, allocations: 3.938 kB / 0.867 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.288e-05/0.5074, allocations: 310.8 kB / 0.8673 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.218e-05/0.5074, allocations: 4 kB / 0.8673 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.378e-06/0.5074, allocations: 4 kB / 0.8673 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.773e-05/0.5074, allocations: 8 kB / 0.8673 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5074, allocations: 0 / 0.8673 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.15e-05/0.5075, allocations: 45.69 kB / 0.8674 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.5076, allocations: 5.406 kB / 0.8674 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.5076, allocations: 0 / 0.8674 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.5076, allocations: 3.953 kB / 0.8674 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.961e-05/0.5076, allocations: 4 kB / 0.8674 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.5077, allocations: 7.984 kB / 0.8674 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.822e-05/0.5077, allocations: 3.938 kB / 0.8674 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.5077, allocations: 0 / 0.8674 GB, free: 14.74 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.09e-05/0.5078, allocations: 101 kB / 0.8675 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.894e-05/0.5079, allocations: 57.53 kB / 0.8676 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-06/0.5079, allocations: 7.953 kB / 0.8676 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.508, allocations: 54.03 kB / 0.8676 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.508, allocations: 0 / 0.8676 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.508, allocations: 0 / 0.8676 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.508, allocations: 0 / 0.8676 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.406e-05/0.5081, allocations: 142.2 kB / 0.8677 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5081, allocations: 0 / 0.8677 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.5082, allocations: 8 kB / 0.8678 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.5082, allocations: 7.922 kB / 0.8678 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.5082, allocations: 0 / 0.8678 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5082, allocations: 3.953 kB / 0.8678 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5082, allocations: 0 / 0.8678 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.5084, allocations: 73.03 kB / 0.8678 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.063e-05/0.5085, allocations: 81.11 kB / 0.8679 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.5085, allocations: 0 / 0.8679 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.529e-05/0.5085, allocations: 10 kB / 0.8679 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.5085, allocations: 3.953 kB / 0.8679 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.5086, allocations: 4 kB / 0.8679 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.627e-05/0.5086, allocations: 87.22 kB / 0.868 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5086, allocations: 3.938 kB / 0.868 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002331/0.5089, allocations: 31.94 kB / 0.868 GB, free: 13.98 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000451/0.5093, allocations: 0.6438 MB / 0.8687 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.965e-05/0.5094, allocations: 12.05 kB / 0.8687 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5094, allocations: 0 / 0.8687 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-05/0.5094, allocations: 8.094 kB / 0.8687 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.5096, allocations: 14.06 kB / 0.8687 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/0.5099, allocations: 113.5 kB / 0.8688 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.5101, allocations: 0.6846 MB / 0.8695 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.679e-05/0.5102, allocations: 8 kB / 0.8695 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.5102, allocations: 7.438 kB / 0.8695 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of SimCode: time 2.7e-07/0.5102, allocations: 4 kB / 0.8695 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.5291, allocations: 1.101 MB / 0.8706 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.5293, allocations: 167.2 kB / 0.8707 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.463/1.992, allocations: 1.875 kB / 0.8707 GB, free: 11.11 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)