Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_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.005132/0.005132, allocations: 104.3 kB / 15.73 MB, free: 5.953 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.001451/0.001451, allocations: 190.1 kB / 16.67 MB, free: 5.871 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002446/0.002446, allocations: 289.4 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 16.81/16.81, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002682/0.002682, allocations: 95.84 kB / 0.681 GB, free: 7.477 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6286/0.6313, allocations: 86.98 MB / 0.7659 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.2526/0.8839, allocations: 192.6 MB / 0.954 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.6764/1.56, allocations: 4.006 MB / 0.9579 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001677/1.562, allocations: 24.45 kB / 0.9579 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001694/1.564, allocations: 475.8 kB / 0.9584 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005598/1.57, allocations: 1.529 MB / 0.9599 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005083/1.575, allocations: 1.359 MB / 0.9612 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003749/1.578, allocations: 1.632 MB / 0.9628 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00172/1.58, allocations: 0.9522 MB / 0.9637 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002723/1.583, allocations: 0.9242 MB / 0.9646 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/1.585, allocations: 0.8466 MB / 0.9655 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002253/1.585, allocations: 95.62 kB / 0.9656 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004209/1.589, allocations: 1.309 MB / 0.9668 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006508/1.59, allocations: 353.2 kB / 0.9672 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001266/1.591, allocations: 0.5139 MB / 0.9677 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004839/1.596, allocations: 1.648 MB / 0.9693 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/1.596, allocations: 2.562 kB / 0.9693 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.226e-06/1.596, allocations: 0.9688 kB / 0.9693 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.198e-05/1.596, allocations: 0 / 0.9693 GB, free: 1.625 MB / 0.7169 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.00404/1.6, allocations: 1.479 MB / 0.9707 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/1.6, allocations: 9.188 kB / 0.9707 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001615/1.6, allocations: 91.75 kB / 0.9708 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/1.602, allocations: 237.3 kB / 0.9711 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/1.603, allocations: 0.6168 MB / 0.9717 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.891e-05/1.603, allocations: 40.31 kB / 0.9717 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/1.604, allocations: 47.78 kB / 0.9717 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/1.605, allocations: 0.9713 MB / 0.9727 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/1.605, allocations: 0.8438 kB / 0.9727 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-05/1.605, allocations: 20.06 kB / 0.9727 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.285e-05/1.605, allocations: 35.53 kB / 0.9727 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/1.607, allocations: 0.9322 MB / 0.9737 GB, free: 16.31 MB / 0.7325 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.006612/1.613, allocations: 4.276 MB / 0.9778 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009787/1.614, allocations: 0.5943 MB / 0.9784 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007367/1.615, allocations: 0.5168 MB / 0.9789 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/1.617, allocations: 0.8807 MB / 0.9798 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.865e-05/1.617, allocations: 41.31 kB / 0.9798 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001734/1.618, allocations: 409.5 kB / 0.9802 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=50): time 3.817e-06/1.618, allocations: 0 / 0.9802 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50): time 0.01782/1.636, allocations: 3.839 MB / 0.984 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/1.636, allocations: 61.92 kB / 0.984 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/1.637, allocations: 0.7204 MB / 0.9847 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002505/1.638, allocations: 34.98 kB / 0.9847 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/1.638, allocations: 319.6 kB / 0.9851 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/1.638, allocations: 193.5 kB / 0.9852 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/1.638, allocations: 149.9 kB / 0.9854 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.639, allocations: 324 kB / 0.9857 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006675/1.639, allocations: 395.2 kB / 0.9861 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007207/1.64, allocations: 488.5 kB / 0.9865 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/1.642, allocations: 0.9219 MB / 0.9874 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/1.642, allocations: 4.344 kB / 0.9874 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01137/1.653, allocations: 2.563 MB / 0.9899 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/1.653, allocations: 12.12 kB / 0.99 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/1.653, allocations: 6.25 kB / 0.99 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009592/1.663, allocations: 1.733 MB / 0.9917 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005714/1.663, allocations: 89.28 kB / 0.9917 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/1.676, allocations: 7.153 MB / 0.9987 GB, free: 8.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/1.678, allocations: 20.73 kB / 0.9987 GB, free: 8.641 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/1.678, allocations: 43.77 kB / 0.9988 GB, free: 8.641 MB / 0.7325 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.000568/1.678, allocations: 206.3 kB / 0.999 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002677/1.679, allocations: 90.91 kB / 0.9991 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005058/1.684, allocations: 1.737 MB / 1.001 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/1.684, allocations: 13 kB / 1.001 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.684, allocations: 2.812 kB / 1.001 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/1.684, allocations: 3.094 kB / 1.001 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006383/1.69, allocations: 2.535 MB / 1.003 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/1.69, allocations: 1.781 kB / 1.003 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004789/1.691, allocations: 90.41 kB / 1.003 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00348/1.694, allocations: 0.8023 MB / 1.004 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/1.694, allocations: 14.84 kB / 1.004 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007261/1.701, allocations: 4.852 MB / 1.009 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/1.702, allocations: 6.5 kB / 1.009 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005559/1.707, allocations: 2.153 MB / 1.011 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006717/1.708, allocations: 241 kB / 1.011 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/1.708, allocations: 10.38 kB / 1.011 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006222/1.709, allocations: 22.5 kB / 1.011 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/1.709, allocations: 56.03 kB / 1.011 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.332e-05/1.709, allocations: 21.44 kB / 1.011 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000777/1.71, allocations: 0.4967 MB / 1.012 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.71, allocations: 0 / 1.012 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00132/1.711, allocations: 293 kB / 1.012 GB, free: 4.547 MB / 0.7325 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.006012/1.717, allocations: 2.812 MB / 1.015 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003788/1.721, allocations: 1.475 MB / 1.016 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/1.721, allocations: 0 / 1.016 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00206/1.723, allocations: 0.9149 MB / 1.017 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/1.726, allocations: 458.6 kB / 1.018 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03106/1.757, allocations: 10.45 MB / 1.028 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006352/1.757, allocations: 0.9806 MB / 1.029 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008398/1.758, allocations: 160.7 kB / 1.029 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/1.759, allocations: 284.2 kB / 1.029 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of SimCode: time 1.532e-06/1.759, allocations: 4 kB / 1.029 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07455/1.833, allocations: 29.7 MB / 1.058 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/13.11, allocations: 6.016 kB / 1.058 GB, free: 2.461 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)