Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.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.BaseClasses.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_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.00125/0.00125, allocations: 102 kB / 15.98 MB, free: 6.344 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.001207/0.001207, allocations: 198.3 kB / 16.91 MB, free: 6.188 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.206/1.206, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6475/0.6475, allocations: 115.3 MB / 406.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.91 kB / 493.2 MB, free: 0.5664 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.277, allocations: 76.18 MB / 0.556 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001916/0.279, allocations: 1.317 MB / 0.5573 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002194/0.2792, allocations: 125.7 kB / 0.5574 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.787e-05/0.2792, allocations: 0 / 0.5574 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.2793, allocations: 0 / 0.5574 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.928e-05/0.2793, allocations: 5.312 kB / 0.5574 GB, free: 35.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.2795, allocations: 28.8 kB / 0.5575 GB, free: 35.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.956e-05/0.2796, allocations: 16.16 kB / 0.5575 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.2796, allocations: 5.422 kB / 0.5575 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.763e-05/0.2796, allocations: 8.312 kB / 0.5575 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.87e-05/0.2797, allocations: 10.41 kB / 0.5575 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.2797, allocations: 0 / 0.5575 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.2798, allocations: 53.73 kB / 0.5575 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.785e-06/0.2798, allocations: 0.875 kB / 0.5575 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.803e-05/0.2798, allocations: 3.812 kB / 0.5576 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.803e-05/0.2799, allocations: 42.34 kB / 0.5576 GB, free: 35.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2799, allocations: 0.5 kB / 0.5576 GB, free: 35.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2799, allocations: 1.812 kB / 0.5576 GB, free: 35.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.2799, allocations: 0 / 0.5576 GB, free: 35.32 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000256/0.2802, allocations: 330.5 kB / 0.5579 GB, free: 34.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.2802, allocations: 10.97 kB / 0.5579 GB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.972e-05/0.2803, allocations: 32.16 kB / 0.558 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.988e-05/0.2803, allocations: 2.344 kB / 0.558 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.542e-05/0.2804, allocations: 173.1 kB / 0.5581 GB, free: 34.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.2804, allocations: 1.781 kB / 0.5581 GB, free: 34.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.76e-06/0.2804, allocations: 5.781 kB / 0.5581 GB, free: 34.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.949e-05/0.2805, allocations: 37.39 kB / 0.5582 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.2805, allocations: 0 / 0.5582 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.2805, allocations: 4 kB / 0.5582 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2805, allocations: 3.938 kB / 0.5582 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.967e-05/0.2805, allocations: 4.453 kB / 0.5582 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.562e-05/0.2806, allocations: 152.7 kB / 0.5583 GB, free: 34.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.853e-05/0.2807, allocations: 21.83 kB / 0.5583 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.581e-05/0.2807, allocations: 13.27 kB / 0.5584 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005146/0.2812, allocations: 0.6086 MB / 0.5589 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.381e-05/0.2812, allocations: 38.5 kB / 0.559 GB, free: 33.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.2812, allocations: 0.6875 kB / 0.559 GB, free: 33.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001094/0.2814, allocations: 50.09 kB / 0.559 GB, free: 33.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.2814, allocations: 52.94 kB / 0.5591 GB, free: 33.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.905e-05/0.2814, allocations: 99.73 kB / 0.5592 GB, free: 33.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.56e-06/0.2814, allocations: 25.7 kB / 0.5592 GB, free: 33.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.187e-05/0.2815, allocations: 85.48 kB / 0.5593 GB, free: 33.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.851e-05/0.2815, allocations: 5.062 kB / 0.5593 GB, free: 33.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.2815, allocations: 12.5 kB / 0.5593 GB, free: 33.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.484e-05/0.2815, allocations: 315.5 kB / 0.5596 GB, free: 33.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/0.2816, allocations: 3.656 kB / 0.5596 GB, free: 33.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.275e-06/0.2816, allocations: 2.906 kB / 0.5596 GB, free: 33.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.333e-05/0.2816, allocations: 17.67 kB / 0.5596 GB, free: 33.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2816, allocations: 0 / 0.5596 GB, free: 33.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.034e-05/0.2817, allocations: 46.59 kB / 0.5597 GB, free: 33.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.2817, allocations: 4.438 kB / 0.5597 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2817, allocations: 1.25 kB / 0.5597 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.2817, allocations: 0 / 0.5597 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.089e-05/0.2817, allocations: 3.531 kB / 0.5597 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.2817, allocations: 0.7812 kB / 0.5597 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.661e-05/0.2818, allocations: 0 / 0.5597 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.2818, allocations: 1.938 kB / 0.5597 GB, free: 33.04 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 (2): * Single equations (assignments): 2 * 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.772e-05/0.2818, allocations: 110.3 kB / 0.5598 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.246e-06/0.2818, allocations: 5.625 kB / 0.5598 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.307e-05/0.2819, allocations: 49.06 kB / 0.5598 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.2819, allocations: 1.281 kB / 0.5598 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2819, allocations: 0 / 0.5598 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.2819, allocations: 1.25 kB / 0.5598 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.851e-05/0.282, allocations: 151.3 kB / 0.56 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.282, allocations: 5.578 kB / 0.56 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.063e-05/0.282, allocations: 4.578 kB / 0.56 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.282, allocations: 1.594 kB / 0.56 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.282, allocations: 5.188 kB / 0.56 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.282, allocations: 0.7031 kB / 0.56 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.282, allocations: 0 / 0.56 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.437e-05/0.2821, allocations: 71.55 kB / 0.5601 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.5e-05/0.2821, allocations: 87.34 kB / 0.5602 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.2821, allocations: 1 kB / 0.5602 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.601e-05/0.2822, allocations: 0.75 kB / 0.5602 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-06/0.2822, allocations: 6.75 kB / 0.5602 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.2822, allocations: 5.188 kB / 0.5602 GB, free: 32.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.769e-05/0.2822, allocations: 80.3 kB / 0.5602 GB, free: 32.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2822, allocations: 0 / 0.5602 GB, free: 32.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001811/0.2824, allocations: 16.55 kB / 0.5603 GB, free: 32.43 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 (2): * Single equations (assignments): 2 * 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.0002315/0.2826, allocations: 0.6157 MB / 0.5609 GB, free: 31.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.226e-05/0.2827, allocations: 16.73 kB / 0.5609 GB, free: 31.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2827, allocations: 0.5 kB / 0.5609 GB, free: 31.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.091e-05/0.2827, allocations: 6.656 kB / 0.5609 GB, free: 31.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.2829, allocations: 6.453 kB / 0.5609 GB, free: 31.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005801/0.2835, allocations: 1.092 MB / 0.562 GB, free: 30.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.181e-05/0.2836, allocations: 0.6764 MB / 0.5626 GB, free: 30.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.558e-05/0.2836, allocations: 3.531 kB / 0.5626 GB, free: 30.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.056e-05/0.2837, allocations: 9.188 kB / 0.5626 GB, free: 30.01 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2837, allocations: 1.375 kB / 0.5626 GB, free: 30.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.311/1.595, allocations: 1.322 MB / 0.5639 GB, free: 29.82 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/1.595, allocations: 202 kB / 0.5641 GB, free: 29.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/3.173, allocations: 5.078 kB / 0.5641 GB, free: 29.57 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)