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.001526/0.001526, allocations: 106.5 kB / 16.4 MB, free: 6.5 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.001741/0.001741, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7339/0.7339, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 68 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1559, allocations: 76.18 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.5727/0.7286, allocations: 192.6 MB / 0.8197 GB, free: 10 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006597/0.7353, allocations: 4.036 MB / 0.8236 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.7366, allocations: 20.25 kB / 0.8236 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.738, allocations: 463.6 kB / 0.8241 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00432/0.7424, allocations: 1.537 MB / 0.8256 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003803/0.7462, allocations: 1.358 MB / 0.8269 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00258/0.7488, allocations: 1.64 MB / 0.8285 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.75, allocations: 0.9533 MB / 0.8294 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001562/0.7516, allocations: 0.929 MB / 0.8303 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.7526, allocations: 0.8474 MB / 0.8312 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.7528, allocations: 101.9 kB / 0.8313 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002892/0.7557, allocations: 1.305 MB / 0.8325 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003546/0.7561, allocations: 351.5 kB / 0.8329 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005397/0.7566, allocations: 0.5139 MB / 0.8334 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002423/0.759, allocations: 1.633 MB / 0.835 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.7591, allocations: 0 / 0.835 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7591, allocations: 0 / 0.835 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.7591, allocations: 0 / 0.835 GB, free: 1.949 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.003042/0.7621, allocations: 1.444 MB / 0.8364 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.7622, allocations: 9.469 kB / 0.8364 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001221/0.7623, allocations: 92.67 kB / 0.8365 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.7638, allocations: 244 kB / 0.8367 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009511/0.7647, allocations: 0.6068 MB / 0.8373 GB, free: 248 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.7648, allocations: 37.03 kB / 0.8373 GB, free: 228 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.7649, allocations: 52.62 kB / 0.8374 GB, free: 208 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.7664, allocations: 0.9689 MB / 0.8383 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.7664, allocations: 2.094 kB / 0.8383 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.061e-05/0.7665, allocations: 21.25 kB / 0.8383 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.482e-05/0.7665, allocations: 30.23 kB / 0.8384 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.768, allocations: 0.9421 MB / 0.8393 GB, free: 15.01 MB / 0.6075 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.005011/0.773, allocations: 4.244 MB / 0.8434 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009028/0.7739, allocations: 0.6028 MB / 0.844 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000741/0.7747, allocations: 0.5181 MB / 0.8445 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/0.7757, allocations: 0.874 MB / 0.8454 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.7757, allocations: 41.83 kB / 0.8454 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001324/0.7771, allocations: 425 kB / 0.8458 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 2.415e-06/0.7771, allocations: 0 / 0.8458 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.01739/0.7945, allocations: 3.831 MB / 0.8496 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.7946, allocations: 63.77 kB / 0.8496 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009787/0.7956, allocations: 0.7077 MB / 0.8503 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.454e-05/0.7957, allocations: 37.7 kB / 0.8504 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.7959, allocations: 328.6 kB / 0.8507 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.7961, allocations: 168.9 kB / 0.8508 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/0.7963, allocations: 162 kB / 0.851 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.7965, allocations: 326 kB / 0.8513 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006313/0.7971, allocations: 396.8 kB / 0.8517 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007152/0.7978, allocations: 493.5 kB / 0.8522 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.7993, allocations: 0.918 MB / 0.853 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.7993, allocations: 0 / 0.853 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01126/0.8105, allocations: 2.552 MB / 0.8555 GB, free: 484 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.8106, allocations: 13.41 kB / 0.8556 GB, free: 472 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.8106, allocations: 4 kB / 0.8556 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009641/0.8202, allocations: 1.728 MB / 0.8572 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/0.8208, allocations: 92.56 kB / 0.8573 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01364/0.8344, allocations: 7.135 MB / 0.8643 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.8358, allocations: 20.05 kB / 0.8643 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002142/0.836, allocations: 43.94 kB / 0.8644 GB, free: 7.164 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.0005709/0.8366, allocations: 213.9 kB / 0.8646 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003754/0.837, allocations: 86.97 kB / 0.8646 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005182/0.8422, allocations: 1.742 MB / 0.8664 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.8422, allocations: 8 kB / 0.8664 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.8422, allocations: 4 kB / 0.8664 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.8422, allocations: 7.969 kB / 0.8664 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005729/0.848, allocations: 2.534 MB / 0.8688 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.848, allocations: 0 / 0.8688 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.8484, allocations: 87.89 kB / 0.8689 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003316/0.8517, allocations: 0.8039 MB / 0.8697 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/0.8518, allocations: 16 kB / 0.8697 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006426/0.8582, allocations: 4.852 MB / 0.8745 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.8583, allocations: 128 / 0.8745 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004997/0.8633, allocations: 2.147 MB / 0.8766 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004484/0.8637, allocations: 240 kB / 0.8768 GB, free: 10 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.8638, allocations: 20 kB / 0.8768 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005567/0.8644, allocations: 19.98 kB / 0.8768 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.8646, allocations: 48.44 kB / 0.8769 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.951e-05/0.8646, allocations: 20 kB / 0.8769 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005868/0.8652, allocations: 0.499 MB / 0.8774 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8652, allocations: 0 / 0.8774 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00104/0.8663, allocations: 291.8 kB / 0.8777 GB, free: 9.121 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.00577/0.872, allocations: 2.806 MB / 0.8804 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003447/0.8755, allocations: 1.471 MB / 0.8818 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.8755, allocations: 0 / 0.8818 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001739/0.8773, allocations: 0.9098 MB / 0.8827 GB, free: 3.848 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/0.8794, allocations: 461.1 kB / 0.8832 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02977/0.9092, allocations: 10.44 MB / 0.8934 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006363/0.9099, allocations: 0.9789 MB / 0.8943 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006599/0.9106, allocations: 162.6 kB / 0.8945 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004395/0.911, allocations: 287.3 kB / 0.8947 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of SimCode: time 8.52e-07/0.911, allocations: 3.938 kB / 0.8948 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07226/0.9833, allocations: 30.39 MB / 0.9244 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.77, allocations: 7.922 kB / 0.9244 GB, free: 9.25 MB / 0.6856 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)