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.001663/0.001663, allocations: 108 kB / 15.61 MB, free: 152 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.001859/0.001859, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002106/0.002106, allocations: 286.9 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9177/0.9177, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 95.31 kB / 0.5953 GB, free: 27.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1265, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.4412/0.5678, allocations: 192.6 MB / 0.8684 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005969/0.5738, allocations: 4.02 MB / 0.8723 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008599/0.5747, allocations: 20.06 kB / 0.8723 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.5759, allocations: 469.6 kB / 0.8728 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00337/0.5793, allocations: 1.534 MB / 0.8743 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003058/0.5824, allocations: 1.356 MB / 0.8756 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001868/0.5843, allocations: 1.629 MB / 0.8772 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.5854, allocations: 0.9564 MB / 0.8781 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.5869, allocations: 0.9189 MB / 0.879 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.588, allocations: 0.8524 MB / 0.8799 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002203/0.5883, allocations: 95.03 kB / 0.8799 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/0.5905, allocations: 1.303 MB / 0.8812 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003847/0.5909, allocations: 357.1 kB / 0.8816 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006389/0.5916, allocations: 0.5083 MB / 0.8821 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002186/0.5938, allocations: 1.626 MB / 0.8836 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5938, allocations: 4 kB / 0.8836 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5938, allocations: 0 / 0.8836 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.625e-05/0.5938, allocations: 0 / 0.8836 GB, free: 3.477 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.003/0.5968, allocations: 1.447 MB / 0.8851 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.5969, allocations: 9.562 kB / 0.8851 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/0.597, allocations: 96.5 kB / 0.8852 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.5985, allocations: 235.1 kB / 0.8854 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008353/0.5994, allocations: 0.5887 MB / 0.886 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.5994, allocations: 40.62 kB / 0.886 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.5995, allocations: 57.45 kB / 0.8861 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.601, allocations: 0.9601 MB / 0.887 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.601, allocations: 2.188 kB / 0.887 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-05/0.6011, allocations: 21.66 kB / 0.887 GB, free: 1 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.124e-05/0.6011, allocations: 34.39 kB / 0.887 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.6026, allocations: 0.9349 MB / 0.888 GB, free: 0.5195 MB / 0.5919 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.005187/0.6078, allocations: 4.255 MB / 0.8921 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009364/0.6088, allocations: 0.5974 MB / 0.8927 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007379/0.6095, allocations: 0.5134 MB / 0.8932 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009896/0.6105, allocations: 0.8827 MB / 0.8941 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.6106, allocations: 39 kB / 0.8941 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001495/0.6121, allocations: 416.5 kB / 0.8945 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 5.039e-06/0.6121, allocations: 3.938 kB / 0.8945 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.0185/0.6306, allocations: 3.841 MB / 0.8982 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.6307, allocations: 55.84 kB / 0.8983 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000911/0.6316, allocations: 0.7116 MB / 0.899 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.038e-05/0.6317, allocations: 33.7 kB / 0.899 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.6319, allocations: 324.6 kB / 0.8993 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.6321, allocations: 173.4 kB / 0.8995 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/0.6324, allocations: 150 kB / 0.8996 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.6325, allocations: 337.9 kB / 0.9 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006783/0.6332, allocations: 392.9 kB / 0.9003 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007582/0.6339, allocations: 489.5 kB / 0.9008 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/0.6355, allocations: 0.9231 MB / 0.9017 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6355, allocations: 0 / 0.9017 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01177/0.6473, allocations: 2.556 MB / 0.9042 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.6473, allocations: 9.719 kB / 0.9042 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6473, allocations: 0 / 0.9042 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009797/0.6571, allocations: 1.734 MB / 0.9059 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004542/0.6576, allocations: 95.86 kB / 0.906 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01296/0.6705, allocations: 7.148 MB / 0.913 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008679/0.6714, allocations: 20.05 kB / 0.913 GB, free: 8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/0.6716, allocations: 47.92 kB / 0.913 GB, free: 7.953 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 (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.0004152/0.672, allocations: 208 kB / 0.9132 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002725/0.6723, allocations: 83.06 kB / 0.9133 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005567/0.6779, allocations: 1.742 MB / 0.915 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.6779, allocations: 11.94 kB / 0.915 GB, free: 5.895 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.6779, allocations: 0 / 0.915 GB, free: 5.895 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.6779, allocations: 3.984 kB / 0.915 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006227/0.6842, allocations: 2.548 MB / 0.9175 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.6842, allocations: 0 / 0.9175 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004273/0.6846, allocations: 89.45 kB / 0.9176 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003554/0.6882, allocations: 0.7978 MB / 0.9184 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-05/0.6882, allocations: 19.98 kB / 0.9184 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006973/0.6952, allocations: 4.865 MB / 0.9232 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6952, allocations: 0 / 0.9232 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005456/0.7007, allocations: 2.155 MB / 0.9253 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003835/0.7011, allocations: 224 kB / 0.9255 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.7013, allocations: 12 kB / 0.9255 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006302/0.7019, allocations: 23.98 kB / 0.9255 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.7021, allocations: 56.44 kB / 0.9256 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-05/0.7021, allocations: 19.98 kB / 0.9256 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006211/0.7027, allocations: 0.499 MB / 0.9261 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7028, allocations: 0 / 0.9261 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009098/0.7037, allocations: 291.7 kB / 0.9264 GB, free: 9.887 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 (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.006235/0.7099, allocations: 2.819 MB / 0.9291 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003678/0.7136, allocations: 1.511 MB / 0.9306 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.7136, allocations: 0 / 0.9306 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.7155, allocations: 0.9195 MB / 0.9315 GB, free: 4.531 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.7175, allocations: 466.5 kB / 0.9319 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03008/0.7476, allocations: 10.69 MB / 0.9424 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005787/0.7482, allocations: 0.9828 MB / 0.9433 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006793/0.7489, allocations: 158.6 kB / 0.9435 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003888/0.7493, allocations: 283.3 kB / 0.9437 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of SimCode: time 4.31e-07/0.7493, allocations: 0 / 0.9437 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05545/0.8048, allocations: 29.46 MB / 0.9725 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.388/10.19, allocations: 18.77 kB / 0.9725 GB, free: 10.71 MB / 0.6856 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)