Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.001129/0.001129, allocations: 104.3 kB / 16.27 MB, free: 6 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.001122/0.001122, allocations: 190 kB / 17.19 MB, free: 5.629 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.175/1.175, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6633/0.6633, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.91 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2649, allocations: 77.92 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001777/0.2667, allocations: 1.28 MB / 0.5685 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004236/0.2671, allocations: 304.6 kB / 0.5688 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.492e-05/0.2671, allocations: 0 / 0.5688 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.626e-05/0.2672, allocations: 5.578 kB / 0.5688 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.454e-05/0.2673, allocations: 10.19 kB / 0.5688 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.2675, allocations: 88.34 kB / 0.5689 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.632e-05/0.2676, allocations: 30.97 kB / 0.569 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.498e-05/0.2676, allocations: 7.031 kB / 0.569 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.426e-05/0.2677, allocations: 23.66 kB / 0.569 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.98e-05/0.2677, allocations: 14.83 kB / 0.569 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.2677, allocations: 1.719 kB / 0.569 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.2679, allocations: 80.03 kB / 0.5691 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.2679, allocations: 5.781 kB / 0.5691 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.2679, allocations: 13.11 kB / 0.5691 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.2681, allocations: 75.48 kB / 0.5692 GB, free: 31.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.2681, allocations: 1.281 kB / 0.5692 GB, free: 31.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2681, allocations: 0 / 0.5692 GB, free: 31.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.2681, allocations: 0 / 0.5692 GB, free: 31.49 MB / 446.1 MB 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.0002534/0.2683, allocations: 356.1 kB / 0.5695 GB, free: 31.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.2684, allocations: 9.969 kB / 0.5695 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.231e-05/0.2684, allocations: 35.59 kB / 0.5695 GB, free: 31.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.336e-05/0.2684, allocations: 12.77 kB / 0.5696 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.526e-05/0.2685, allocations: 175 kB / 0.5697 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.2685, allocations: 2.25 kB / 0.5697 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.321e-06/0.2685, allocations: 1.344 kB / 0.5697 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.417e-05/0.2686, allocations: 42.86 kB / 0.5698 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.2686, allocations: 1.281 kB / 0.5698 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.2686, allocations: 1.594 kB / 0.5698 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.2686, allocations: 0.875 kB / 0.5698 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.335e-05/0.2687, allocations: 9.672 kB / 0.5698 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.366e-05/0.2688, allocations: 155.7 kB / 0.5699 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.455e-05/0.2688, allocations: 39.3 kB / 0.57 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.2689, allocations: 14.2 kB / 0.57 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007197/0.2696, allocations: 1.186 MB / 0.5711 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.2696, allocations: 32.28 kB / 0.5712 GB, free: 29.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2696, allocations: 0.5938 kB / 0.5712 GB, free: 29.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001153/0.2697, allocations: 49.84 kB / 0.5712 GB, free: 29.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.751e-05/0.2698, allocations: 52.5 kB / 0.5713 GB, free: 29.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.118e-05/0.2698, allocations: 111.8 kB / 0.5714 GB, free: 29.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.462e-06/0.2698, allocations: 31.45 kB / 0.5714 GB, free: 28.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.106e-05/0.2698, allocations: 85.27 kB / 0.5715 GB, free: 28.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.2699, allocations: 6.094 kB / 0.5715 GB, free: 28.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/0.2699, allocations: 19.44 kB / 0.5715 GB, free: 28.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.171e-05/0.2699, allocations: 319 kB / 0.5718 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.374e-05/0.2699, allocations: 3.406 kB / 0.5718 GB, free: 28.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.081e-05/0.27, allocations: 4.859 kB / 0.5718 GB, free: 28.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.804e-05/0.27, allocations: 16.67 kB / 0.5718 GB, free: 28.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.27, allocations: 0.5 kB / 0.5718 GB, free: 28.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.793e-05/0.2701, allocations: 50.89 kB / 0.5719 GB, free: 28.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.2701, allocations: 4.594 kB / 0.5719 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2701, allocations: 1.062 kB / 0.5719 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.2701, allocations: 4.828 kB / 0.5719 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.075e-05/0.2701, allocations: 10.39 kB / 0.5719 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.2702, allocations: 1.188 kB / 0.5719 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.532e-05/0.2702, allocations: 0 / 0.5719 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.2702, allocations: 6.984 kB / 0.5719 GB, free: 28.5 MB / 446.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.2702, allocations: 108 kB / 0.572 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.2702, allocations: 7.469 kB / 0.572 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.2703, allocations: 64.94 kB / 0.5721 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2704, allocations: 1.688 kB / 0.5721 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2704, allocations: 5.188 kB / 0.5721 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.2704, allocations: 0 / 0.5721 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.322e-05/0.2704, allocations: 160 kB / 0.5722 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2704, allocations: 5.031 kB / 0.5723 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.466e-05/0.2705, allocations: 8.797 kB / 0.5723 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.2705, allocations: 1.312 kB / 0.5723 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-06/0.2705, allocations: 2.922 kB / 0.5723 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.2705, allocations: 0 / 0.5723 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2705, allocations: 1.406 kB / 0.5723 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.343e-05/0.2706, allocations: 74.14 kB / 0.5723 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.288e-05/0.2706, allocations: 90.06 kB / 0.5724 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.2706, allocations: 2.281 kB / 0.5724 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.45e-05/0.2706, allocations: 0 / 0.5724 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.082e-05/0.2707, allocations: 3.141 kB / 0.5724 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-06/0.2707, allocations: 2.609 kB / 0.5724 GB, free: 27.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.341e-05/0.2707, allocations: 90.41 kB / 0.5725 GB, free: 27.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2707, allocations: 2.562 kB / 0.5725 GB, free: 27.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001872/0.2709, allocations: 24.75 kB / 0.5725 GB, free: 27.87 MB / 446.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002504/0.2712, allocations: 0.6338 MB / 0.5732 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.603e-05/0.2712, allocations: 21.53 kB / 0.5732 GB, free: 27.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2712, allocations: 0.5938 kB / 0.5732 GB, free: 27.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.59e-05/0.2713, allocations: 13.09 kB / 0.5732 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.2714, allocations: 9.125 kB / 0.5732 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.2717, allocations: 161.7 kB / 0.5734 GB, free: 27.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.177e-05/0.2718, allocations: 0.6787 MB / 0.574 GB, free: 26.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.84e-05/0.2718, allocations: 10.97 kB / 0.574 GB, free: 26.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.906e-05/0.2719, allocations: 10 kB / 0.574 GB, free: 26.39 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2719, allocations: 0.625 kB / 0.574 GB, free: 26.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.308/2.58, allocations: 1.606 MB / 0.5756 GB, free: 26.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/10.2, allocations: 5.438 kB / 0.5756 GB, free: 26.06 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)