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.006706/0.006706, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001526/0.001526, allocations: 197.1 kB / 16.67 MB, free: 5.926 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8027/0.8027, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 66.95 kB / 0.5851 GB, free: 22.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1453, allocations: 80.92 MB / 0.6642 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002304/0.1476, allocations: 1.269 MB / 0.6654 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002742/0.1479, allocations: 115.8 kB / 0.6655 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.148, allocations: 4 kB / 0.6655 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.148, allocations: 0 / 0.6655 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.339e-05/0.1481, allocations: 7.938 kB / 0.6655 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.1483, allocations: 43.88 kB / 0.6656 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.161e-05/0.1484, allocations: 7.938 kB / 0.6656 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.998e-05/0.1484, allocations: 11.98 kB / 0.6656 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.122e-05/0.1485, allocations: 3.938 kB / 0.6656 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.37e-05/0.1485, allocations: 8 kB / 0.6656 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.1485, allocations: 0 / 0.6656 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.1487, allocations: 47.94 kB / 0.6656 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.1487, allocations: 8 kB / 0.6656 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.282e-05/0.1487, allocations: 3.938 kB / 0.6656 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.1489, allocations: 39.94 kB / 0.6657 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1489, allocations: 0 / 0.6657 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1489, allocations: 0 / 0.6657 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.1489, allocations: 0 / 0.6657 GB, free: 4.844 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.000362/0.1493, allocations: 338.4 kB / 0.666 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1493, allocations: 9.109 kB / 0.666 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.988e-05/0.1493, allocations: 30.75 kB / 0.666 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.1494, allocations: 0.9375 kB / 0.666 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.1495, allocations: 180.2 kB / 0.6662 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1495, allocations: 4.375 kB / 0.6662 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.1495, allocations: 4.125 kB / 0.6662 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.397e-05/0.1496, allocations: 33.7 kB / 0.6663 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.1496, allocations: 0 / 0.6663 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.1496, allocations: 0 / 0.6663 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1497, allocations: 0 / 0.6663 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.072e-05/0.1497, allocations: 7.984 kB / 0.6663 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.1498, allocations: 150.2 kB / 0.6664 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.163e-05/0.1499, allocations: 30.53 kB / 0.6664 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.064e-05/0.1499, allocations: 12.86 kB / 0.6664 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006626/0.1506, allocations: 0.6052 MB / 0.667 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.1506, allocations: 30.56 kB / 0.6671 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1506, allocations: 0 / 0.6671 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001376/0.1508, allocations: 41.69 kB / 0.6671 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.1508, allocations: 59.53 kB / 0.6672 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.412e-05/0.1509, allocations: 97.8 kB / 0.6673 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.1509, allocations: 25.7 kB / 0.6673 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.958e-05/0.1509, allocations: 88.06 kB / 0.6674 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.151, allocations: 12.12 kB / 0.6674 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.151, allocations: 13.72 kB / 0.6674 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.907e-05/0.1511, allocations: 310.8 kB / 0.6677 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.197e-05/0.1511, allocations: 0 / 0.6677 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.939e-06/0.1511, allocations: 12 kB / 0.6677 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.801e-05/0.1512, allocations: 8.859 kB / 0.6677 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1512, allocations: 0 / 0.6677 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.682e-05/0.1512, allocations: 49.62 kB / 0.6678 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.1513, allocations: 4 kB / 0.6678 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1513, allocations: 0 / 0.6678 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1513, allocations: 3.938 kB / 0.6678 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.089e-05/0.1513, allocations: 4 kB / 0.6678 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1514, allocations: 96 / 0.6678 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.1514, allocations: 4 kB / 0.6678 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.1514, allocations: 4.188 kB / 0.6678 GB, free: 2.344 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.5e-05/0.1515, allocations: 113.8 kB / 0.6679 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.1515, allocations: 7.875 kB / 0.6679 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.369e-05/0.1516, allocations: 44.81 kB / 0.6679 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1516, allocations: 0 / 0.6679 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1516, allocations: 3.984 kB / 0.6679 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1516, allocations: 4 kB / 0.6679 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.486e-05/0.1517, allocations: 153.7 kB / 0.6681 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1517, allocations: 0 / 0.6681 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-05/0.1517, allocations: 11.92 kB / 0.6681 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1517, allocations: 0 / 0.6681 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.1517, allocations: 4 kB / 0.6681 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1518, allocations: 0 / 0.6681 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1518, allocations: 0 / 0.6681 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.154e-05/0.1518, allocations: 64.98 kB / 0.6682 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/0.1519, allocations: 85.12 kB / 0.6682 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.1519, allocations: 4 kB / 0.6682 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.709e-05/0.1519, allocations: 0 / 0.6682 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.1519, allocations: 0 / 0.6682 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.1519, allocations: 0 / 0.6682 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.42e-05/0.152, allocations: 83.28 kB / 0.6683 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.152, allocations: 0 / 0.6683 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002075/0.1522, allocations: 12 kB / 0.6683 GB, free: 1.656 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.000341/0.1525, allocations: 0.6254 MB / 0.6689 GB, free: 1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.601e-05/0.1526, allocations: 8 kB / 0.669 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.1526, allocations: 3.938 kB / 0.669 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.254e-05/0.1527, allocations: 4 kB / 0.669 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.1529, allocations: 16.08 kB / 0.669 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008522/0.1538, allocations: 1.095 MB / 0.67 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.154, allocations: 0.6729 MB / 0.6707 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.692e-05/0.154, allocations: 64 / 0.6707 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.154, allocations: 11.42 kB / 0.6707 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.1541, allocations: 4 kB / 0.6707 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.1695, allocations: 1.432 MB / 0.6721 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.03/8.2, allocations: 11.81 kB / 0.6721 GB, free: 13.73 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)