Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",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.004317/0.004317, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001018/0.001018, allocations: 197 kB / 16.67 MB, free: 5.977 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.261/1.261, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7068/0.7068, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 63.31 kB / 0.5809 GB, free: 1.137 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1521, allocations: 80.21 MB / 0.6592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002818/0.155, allocations: 1.436 MB / 0.6606 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.1567, allocations: 0.9007 MB / 0.6615 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.396e-05/0.1567, allocations: 0 / 0.6615 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.1569, allocations: 7.875 kB / 0.6615 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006263/0.1576, allocations: 137.6 kB / 0.6616 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.1579, allocations: 103.8 kB / 0.6617 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.158, allocations: 59.83 kB / 0.6618 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.57e-05/0.1581, allocations: 0 / 0.6618 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1582, allocations: 43.83 kB / 0.6618 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.1583, allocations: 51.81 kB / 0.6619 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1583, allocations: 4 kB / 0.6619 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000464/0.1588, allocations: 231.6 kB / 0.6621 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.49e-05/0.1589, allocations: 55.88 kB / 0.6621 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.799e-05/0.159, allocations: 59.53 kB / 0.6622 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004885/0.1595, allocations: 278.9 kB / 0.6625 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.1595, allocations: 3.984 kB / 0.6625 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.604e-06/0.1595, allocations: 0 / 0.6625 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.1595, allocations: 0 / 0.6625 GB, free: 10.67 MB / 0.4981 GB 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.000893/0.1604, allocations: 0.5022 MB / 0.663 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.1605, allocations: 8.031 kB / 0.663 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.99e-05/0.1605, allocations: 30.75 kB / 0.663 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.953e-05/0.1606, allocations: 16.75 kB / 0.663 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006199/0.1612, allocations: 0.6472 MB / 0.6636 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.1612, allocations: 12.05 kB / 0.6637 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.1613, allocations: 0 / 0.6637 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.1615, allocations: 73.67 kB / 0.6637 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1615, allocations: 0 / 0.6637 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1615, allocations: 0 / 0.6637 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1615, allocations: 3.984 kB / 0.6637 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.1617, allocations: 83.92 kB / 0.6638 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.162, allocations: 321.6 kB / 0.6641 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.1623, allocations: 122.4 kB / 0.6642 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.1624, allocations: 48.89 kB / 0.6643 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.797e-05/0.1625, allocations: 11.98 kB / 0.6643 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.1625, allocations: 38.56 kB / 0.6643 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.495e-06/0.1625, allocations: 0 / 0.6643 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003847/0.1629, allocations: 177.2 kB / 0.6645 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.1629, allocations: 51.41 kB / 0.6645 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006301/0.1636, allocations: 0.7742 MB / 0.6653 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.1636, allocations: 25.7 kB / 0.6653 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.317e-05/0.1637, allocations: 132.1 kB / 0.6655 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.1637, allocations: 15.77 kB / 0.6655 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.1638, allocations: 13.72 kB / 0.6655 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1639, allocations: 330.8 kB / 0.6658 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.948e-05/0.164, allocations: 47.91 kB / 0.6658 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1641, allocations: 62.53 kB / 0.6659 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.1643, allocations: 80.8 kB / 0.666 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1643, allocations: 3.938 kB / 0.666 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002436/0.1645, allocations: 137.5 kB / 0.6661 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1646, allocations: 4 kB / 0.6661 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1646, allocations: 3.984 kB / 0.6661 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1646, allocations: 0 / 0.6661 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.154e-05/0.1647, allocations: 15.92 kB / 0.6661 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1647, allocations: 0 / 0.6661 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.1648, allocations: 11.98 kB / 0.6661 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.1648, allocations: 0 / 0.6661 GB, free: 6.656 MB / 0.4981 GB 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 0.000103/0.1649, allocations: 137.8 kB / 0.6663 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.1649, allocations: 19.72 kB / 0.6663 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.1652, allocations: 134.9 kB / 0.6664 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1652, allocations: 0 / 0.6664 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1652, allocations: 4 kB / 0.6664 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1652, allocations: 0 / 0.6664 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.1654, allocations: 229.9 kB / 0.6667 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1654, allocations: 4 kB / 0.6667 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.457e-05/0.1655, allocations: 19.92 kB / 0.6667 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1655, allocations: 0 / 0.6667 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1655, allocations: 0 / 0.6667 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1655, allocations: 4 kB / 0.6667 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1655, allocations: 0 / 0.6667 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.1658, allocations: 156.8 kB / 0.6668 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.967e-05/0.1659, allocations: 104.9 kB / 0.6669 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.1659, allocations: 0 / 0.6669 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.166, allocations: 19.92 kB / 0.6669 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.1661, allocations: 0 / 0.6669 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.1661, allocations: 0 / 0.6669 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005624/0.1666, allocations: 0.6136 MB / 0.6675 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1666, allocations: 0 / 0.6675 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003147/0.167, allocations: 75.98 kB / 0.6676 GB, free: 5.043 MB / 0.4981 GB 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.0006501/0.1676, allocations: 0.7487 MB / 0.6683 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002455/0.1679, allocations: 87.94 kB / 0.6684 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1679, allocations: 0 / 0.6684 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.577e-05/0.168, allocations: 51.89 kB / 0.6685 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.1682, allocations: 18.8 kB / 0.6685 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/0.1712, allocations: 3.301 MB / 0.6717 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.1715, allocations: 0.724 MB / 0.6724 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.717e-05/0.1716, allocations: 20.64 kB / 0.6725 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.712e-05/0.1717, allocations: 51.42 kB / 0.6725 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1717, allocations: 0 / 0.6725 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.1924, allocations: 4.645 MB / 0.677 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/7.829, allocations: 2.688 kB / 0.677 GB, free: 11.44 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1)