Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildSysPro_BuildSysPro_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.0008599/0.00086, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008434/0.0008434, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.2 MB / 240 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.267/1.267, allocations: 143.4 MB / 434.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003266, allocations: 12 kB / 0.5161 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1597, allocations: 83.42 MB / 0.5975 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.5285/0.6883, allocations: 175.4 MB / 0.7688 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006342/0.6947, allocations: 3.789 MB / 0.7725 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008442/0.6956, allocations: 15.88 kB / 0.7725 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.6967, allocations: 313.9 kB / 0.7728 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003279/0.7, allocations: 1.139 MB / 0.7739 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003026/0.703, allocations: 0.9576 MB / 0.7749 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002715/0.7057, allocations: 1.99 MB / 0.7768 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001482/0.7073, allocations: 0.8191 MB / 0.7776 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.7091, allocations: 0.8565 MB / 0.7784 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/0.7104, allocations: 0.8333 MB / 0.7793 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.7106, allocations: 72 kB / 0.7793 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002055/0.7127, allocations: 0.7054 MB / 0.78 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000406/0.7131, allocations: 331 kB / 0.7803 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002982/0.7134, allocations: 177.3 kB / 0.7805 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.7149, allocations: 1.114 MB / 0.7816 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.715, allocations: 0 / 0.7816 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.715, allocations: 0 / 0.7816 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.715, allocations: 0 / 0.7816 GB, free: 15.5 MB / 0.6075 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.002602/0.7176, allocations: 1.199 MB / 0.7828 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.7177, allocations: 8.031 kB / 0.7828 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001417/0.7178, allocations: 90.5 kB / 0.7829 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.7194, allocations: 238.7 kB / 0.7831 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009466/0.7204, allocations: 0.5609 MB / 0.7836 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.7204, allocations: 41 kB / 0.7837 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.7205, allocations: 52 kB / 0.7837 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.7221, allocations: 0.9686 MB / 0.7847 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.7222, allocations: 4 kB / 0.7847 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.969e-05/0.7223, allocations: 24 kB / 0.7847 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-05/0.7223, allocations: 27.95 kB / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/0.724, allocations: 0.9484 MB / 0.7856 GB, free: 11.17 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.00565/0.7296, allocations: 4.182 MB / 0.7897 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.7307, allocations: 0.6055 MB / 0.7903 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008089/0.7315, allocations: 0.5141 MB / 0.7908 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/0.7326, allocations: 0.8939 MB / 0.7917 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.7327, allocations: 42.94 kB / 0.7917 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001654/0.7343, allocations: 355.2 kB / 0.7921 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 1.009e-05/0.7344, allocations: 0 / 0.7921 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.01719/0.7516, allocations: 3.689 MB / 0.7957 GB, free: 476 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/0.7517, allocations: 59.84 kB / 0.7957 GB, free: 404 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.7535, allocations: 0.7038 MB / 0.7964 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002003/0.7537, allocations: 33.7 kB / 0.7965 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004456/0.7542, allocations: 312.7 kB / 0.7968 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003539/0.7546, allocations: 185.3 kB / 0.7969 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.923e-05/0.7547, allocations: 8 kB / 0.7969 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002174/0.7549, allocations: 330 kB / 0.7972 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008765/0.7558, allocations: 396.9 kB / 0.7976 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009618/0.7568, allocations: 497.5 kB / 0.7981 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00094/0.7577, allocations: 444.7 kB / 0.7985 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.7578, allocations: 0 / 0.7985 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01132/0.7691, allocations: 2.482 MB / 0.801 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.08e-05/0.7692, allocations: 8 kB / 0.801 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.7692, allocations: 0 / 0.801 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009007/0.7782, allocations: 1.542 MB / 0.8025 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000515/0.7788, allocations: 103.8 kB / 0.8026 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01254/0.7913, allocations: 6.538 MB / 0.8089 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.7924, allocations: 27.97 kB / 0.809 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002447/0.7927, allocations: 48.5 kB / 0.809 GB, free: 2.441 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 4,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006101/0.7933, allocations: 210.7 kB / 0.8092 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003355/0.7937, allocations: 79.06 kB / 0.8093 GB, free: 2.148 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005437/0.7991, allocations: 1.672 MB / 0.8109 GB, free: 476 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.7992, allocations: 8 kB / 0.8109 GB, free: 468 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.513e-05/0.7992, allocations: 7.984 kB / 0.8109 GB, free: 460 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.7992, allocations: 3.953 kB / 0.8109 GB, free: 456 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006781/0.806, allocations: 2.485 MB / 0.8134 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.8061, allocations: 0 / 0.8134 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005023/0.8066, allocations: 96.02 kB / 0.8135 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003112/0.8097, allocations: 0.6633 MB / 0.8141 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.696e-05/0.8098, allocations: 16 kB / 0.8141 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007771/0.8176, allocations: 4.405 MB / 0.8184 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.8176, allocations: 8 kB / 0.8184 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005462/0.8231, allocations: 2.085 MB / 0.8205 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007233/0.8239, allocations: 235.9 kB / 0.8207 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000295/0.8242, allocations: 16.86 kB / 0.8207 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007957/0.825, allocations: 31.98 kB / 0.8207 GB, free: 6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/0.8252, allocations: 56.39 kB / 0.8208 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.909e-05/0.8253, allocations: 23.92 kB / 0.8208 GB, free: 5.922 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009477/0.8263, allocations: 499 kB / 0.8213 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8263, allocations: 0 / 0.8213 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001449/0.8277, allocations: 295.8 kB / 0.8216 GB, free: 5.148 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,92.0%) 3,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006299/0.834, allocations: 2.748 MB / 0.8243 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003469/0.8375, allocations: 1.394 MB / 0.8256 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.8376, allocations: 3.938 kB / 0.8256 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001907/0.8395, allocations: 0.8757 MB / 0.8265 GB, free: 36 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/0.8422, allocations: 453.3 kB / 0.8269 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02006/0.8623, allocations: 6.994 MB / 0.8337 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007426/0.8631, allocations: 0.9828 MB / 0.8347 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009159/0.8641, allocations: 166.6 kB / 0.8349 GB, free: 7.348 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005296/0.8646, allocations: 280.4 kB / 0.8351 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of SimCode: time 6.21e-07/0.8646, allocations: 0 / 0.8351 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.363/1.228, allocations: 28.15 MB / 0.8626 GB, free: 205 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/1.228, allocations: 253.8 kB / 0.8629 GB, free: 204.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.766/3.994, allocations: 0 / 0.8629 GB, free: 204.7 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_PowerLaw.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) Environment - environmentSimulation: