Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_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.004384/0.004384, allocations: 102 kB / 15.73 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.001113/0.001113, allocations: 193.8 kB / 16.68 MB, free: 5.922 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8741/0.8741, allocations: 135.1 MB / 425.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 70.48 kB / 0.5851 GB, free: 21.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1551, allocations: 80.92 MB / 0.6641 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002257/0.1574, allocations: 1.265 MB / 0.6654 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003035/0.1577, allocations: 123.8 kB / 0.6655 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.811e-05/0.1577, allocations: 0 / 0.6655 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.698e-05/0.1578, allocations: 0 / 0.6655 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.268e-05/0.1578, allocations: 7.938 kB / 0.6655 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.158, allocations: 39.88 kB / 0.6655 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.996e-05/0.1581, allocations: 19.92 kB / 0.6656 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.1582, allocations: 4 kB / 0.6656 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.012e-05/0.1582, allocations: 3.938 kB / 0.6656 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.372e-05/0.1582, allocations: 4 kB / 0.6656 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.1582, allocations: 0 / 0.6656 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.1584, allocations: 51.94 kB / 0.6656 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.468e-06/0.1584, allocations: 8 kB / 0.6656 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.161e-05/0.1584, allocations: 7.922 kB / 0.6656 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.1585, allocations: 39.94 kB / 0.6657 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1585, allocations: 0 / 0.6657 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1585, allocations: 0 / 0.6657 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.1585, allocations: 0 / 0.6657 GB, free: 4.723 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003725/0.1589, allocations: 334.4 kB / 0.666 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.159, allocations: 9.109 kB / 0.666 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.323e-05/0.159, allocations: 38.62 kB / 0.666 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.056e-05/0.159, allocations: 4.938 kB / 0.666 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.1592, allocations: 172.3 kB / 0.6662 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.1592, allocations: 384 / 0.6662 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.1592, allocations: 4.125 kB / 0.6662 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.858e-05/0.1593, allocations: 33.69 kB / 0.6663 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1593, allocations: 0 / 0.6663 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.503e-06/0.1593, allocations: 0 / 0.6663 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.1593, allocations: 0 / 0.6663 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.039e-05/0.1594, allocations: 4 kB / 0.6663 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.1595, allocations: 158.2 kB / 0.6664 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.883e-05/0.1596, allocations: 26.55 kB / 0.6664 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/0.1596, allocations: 16.8 kB / 0.6664 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006584/0.1603, allocations: 0.6051 MB / 0.667 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.1603, allocations: 30.56 kB / 0.6671 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1603, allocations: 0 / 0.6671 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001331/0.1605, allocations: 45.64 kB / 0.6671 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.1605, allocations: 55.41 kB / 0.6672 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.178e-05/0.1606, allocations: 101.8 kB / 0.6673 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.1606, allocations: 25.7 kB / 0.6673 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.127e-05/0.1606, allocations: 80.14 kB / 0.6674 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.1607, allocations: 8.125 kB / 0.6674 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.1607, allocations: 13.72 kB / 0.6674 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1608, allocations: 319 kB / 0.6677 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.1608, allocations: 3.984 kB / 0.6677 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-06/0.1608, allocations: 4 kB / 0.6677 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.68e-05/0.1609, allocations: 12.86 kB / 0.6677 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1609, allocations: 0 / 0.6677 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.72e-05/0.1609, allocations: 45.58 kB / 0.6677 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.161, allocations: 5.562 kB / 0.6678 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.161, allocations: 0 / 0.6678 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.161, allocations: 96 / 0.6678 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.017e-05/0.161, allocations: 11.98 kB / 0.6678 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1611, allocations: 0 / 0.6678 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.832e-05/0.1611, allocations: 0 / 0.6678 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.1611, allocations: 7.938 kB / 0.6678 GB, free: 2.223 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 (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 6.511e-05/0.1612, allocations: 113.8 kB / 0.6679 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.1612, allocations: 4.125 kB / 0.6679 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.916e-05/0.1613, allocations: 48.8 kB / 0.6679 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1613, allocations: 0 / 0.6679 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1613, allocations: 4.031 kB / 0.6679 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1613, allocations: 7.938 kB / 0.6679 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.385e-05/0.1614, allocations: 149.6 kB / 0.6681 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1614, allocations: 0 / 0.6681 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.051e-05/0.1615, allocations: 4 kB / 0.6681 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.1615, allocations: 0 / 0.6681 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1615, allocations: 4 kB / 0.6681 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1615, allocations: 0 / 0.6681 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1615, allocations: 0 / 0.6681 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.965e-05/0.1616, allocations: 72.97 kB / 0.6682 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/0.1616, allocations: 81.11 kB / 0.6682 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.1616, allocations: 4 kB / 0.6682 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.603e-05/0.1617, allocations: 0 / 0.6682 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-06/0.1617, allocations: 0 / 0.6682 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.1617, allocations: 3.938 kB / 0.6682 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.516e-05/0.1617, allocations: 83.27 kB / 0.6683 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1618, allocations: 0 / 0.6683 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001943/0.1619, allocations: 12 kB / 0.6683 GB, free: 1.535 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 (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.000367/0.1623, allocations: 0.6254 MB / 0.669 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.118e-05/0.1624, allocations: 4 kB / 0.669 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1624, allocations: 0 / 0.669 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.488e-05/0.1624, allocations: 16.02 kB / 0.669 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.1627, allocations: 8 kB / 0.669 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009024/0.1636, allocations: 1.095 MB / 0.67 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.1638, allocations: 0.6768 MB / 0.6707 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.487e-05/0.1639, allocations: 4.062 kB / 0.6707 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.1639, allocations: 7.438 kB / 0.6707 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1639, allocations: 7.938 kB / 0.6707 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.1813, allocations: 1.425 MB / 0.6721 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.551/7.732, allocations: 11.34 kB / 0.6721 GB, free: 13.61 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)