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.001136/0.001136, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00118/0.00118, allocations: 195.2 kB / 16.14 MB, free: 6.664 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.173/1.173, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7898/0.7898, allocations: 135.1 MB / 425.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 67.77 kB / 0.5048 GB, free: 5.621 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1308, allocations: 80.92 MB / 0.5838 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001854/0.1327, allocations: 1.324 MB / 0.5851 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002599/0.133, allocations: 131.5 kB / 0.5852 GB, free: 3.395 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.195e-05/0.133, allocations: 0 / 0.5852 GB, free: 3.395 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.133, allocations: 0 / 0.5852 GB, free: 3.395 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.602e-05/0.1331, allocations: 7.938 kB / 0.5852 GB, free: 3.387 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001277/0.1332, allocations: 23.97 kB / 0.5853 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.739e-05/0.1333, allocations: 15.91 kB / 0.5853 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.07e-05/0.1333, allocations: 7.938 kB / 0.5853 GB, free: 3.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.644e-05/0.1333, allocations: 4 kB / 0.5853 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.286e-05/0.1334, allocations: 7.938 kB / 0.5853 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.1334, allocations: 0 / 0.5853 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1335, allocations: 55.94 kB / 0.5853 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.236e-06/0.1335, allocations: 0 / 0.5853 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.1335, allocations: 7.938 kB / 0.5854 GB, free: 3.266 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.672e-05/0.1336, allocations: 39.94 kB / 0.5854 GB, free: 3.227 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.1336, allocations: 0 / 0.5854 GB, free: 3.227 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.1336, allocations: 0 / 0.5854 GB, free: 3.227 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.1336, allocations: 0 / 0.5854 GB, free: 3.227 MB / 494.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.0002869/0.1339, allocations: 341.8 kB / 0.5857 GB, free: 2.848 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.134, allocations: 12.02 kB / 0.5857 GB, free: 2.836 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.697e-05/0.134, allocations: 30.75 kB / 0.5858 GB, free: 2.797 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.696e-05/0.134, allocations: 0.9375 kB / 0.5858 GB, free: 2.797 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.517e-05/0.1341, allocations: 164.4 kB / 0.5859 GB, free: 2.598 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-06/0.1341, allocations: 384 / 0.5859 GB, free: 2.598 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-06/0.1342, allocations: 384 / 0.5859 GB, free: 2.598 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.368e-05/0.1342, allocations: 41.56 kB / 0.586 GB, free: 2.551 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.1342, allocations: 0 / 0.586 GB, free: 2.551 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-06/0.1342, allocations: 0 / 0.586 GB, free: 2.551 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-06/0.1343, allocations: 4 kB / 0.586 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.587e-05/0.1343, allocations: 8 kB / 0.586 GB, free: 2.539 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001191/0.1344, allocations: 149.7 kB / 0.5861 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.755e-05/0.1345, allocations: 32.2 kB / 0.5861 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.685e-05/0.1345, allocations: 16.84 kB / 0.5862 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005953/0.1351, allocations: 0.6129 MB / 0.5868 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.1351, allocations: 34.56 kB / 0.5868 GB, free: 1.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1351, allocations: 3.938 kB / 0.5868 GB, free: 1.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001089/0.1352, allocations: 33.7 kB / 0.5868 GB, free: 1.457 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.1353, allocations: 55.41 kB / 0.5869 GB, free: 1.391 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.385e-05/0.1353, allocations: 101.8 kB / 0.587 GB, free: 1.281 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.1353, allocations: 25.7 kB / 0.587 GB, free: 1.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.14e-05/0.1354, allocations: 80.14 kB / 0.5871 GB, free: 1.168 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.1354, allocations: 12.03 kB / 0.5871 GB, free: 1.156 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.1354, allocations: 13.72 kB / 0.5871 GB, free: 1.137 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.612e-05/0.1355, allocations: 310.8 kB / 0.5874 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.19e-05/0.1355, allocations: 3.984 kB / 0.5874 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.776e-06/0.1355, allocations: 4 kB / 0.5874 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.453e-05/0.1356, allocations: 16.8 kB / 0.5874 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1356, allocations: 0 / 0.5874 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.663e-05/0.1356, allocations: 49.7 kB / 0.5875 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.1356, allocations: 6.031 kB / 0.5875 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.1356, allocations: 0 / 0.5875 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.1357, allocations: 0 / 0.5875 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.313e-05/0.1357, allocations: 7.984 kB / 0.5875 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1357, allocations: 0 / 0.5875 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.1357, allocations: 3.906 kB / 0.5875 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-06/0.1357, allocations: 0 / 0.5875 GB, free: 0.7266 MB / 494.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 5.455e-05/0.1358, allocations: 113.8 kB / 0.5876 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.796e-06/0.1358, allocations: 3.938 kB / 0.5876 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.734e-05/0.1359, allocations: 52.78 kB / 0.5876 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1359, allocations: 0 / 0.5876 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.1359, allocations: 0 / 0.5876 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.1359, allocations: 4 kB / 0.5877 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.518e-05/0.136, allocations: 153.7 kB / 0.5878 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.136, allocations: 3.938 kB / 0.5878 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.021e-05/0.136, allocations: 4 kB / 0.5878 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.136, allocations: 0 / 0.5878 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.136, allocations: 3.938 kB / 0.5878 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1361, allocations: 8.031 kB / 0.5878 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1361, allocations: 0 / 0.5878 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.441e-05/0.1361, allocations: 65.06 kB / 0.5879 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/0.1362, allocations: 81.05 kB / 0.588 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.1362, allocations: 4 kB / 0.588 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.529e-05/0.1362, allocations: 0 / 0.588 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.648e-06/0.1362, allocations: 0 / 0.588 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.1362, allocations: 3.938 kB / 0.588 GB, free: 136 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.014e-05/0.1363, allocations: 91.3 kB / 0.5881 GB, free: 44 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1363, allocations: 0 / 0.5881 GB, free: 44 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001737/0.1364, allocations: 16 kB / 0.5881 GB, free: 28 kB / 494.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.0003012/0.1367, allocations: 0.6085 MB / 0.5887 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.498e-05/0.1368, allocations: 11.97 kB / 0.5887 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1368, allocations: 0 / 0.5887 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.385e-05/0.1368, allocations: 11.98 kB / 0.5887 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.137, allocations: 4 kB / 0.5887 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007087/0.1377, allocations: 1.093 MB / 0.5898 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.1379, allocations: 0.6809 MB / 0.5904 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.498e-05/0.1379, allocations: 4.062 kB / 0.5904 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.138, allocations: 11.44 kB / 0.5904 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.138, allocations: 0 / 0.5904 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6142/0.7521, allocations: 1.282 MB / 0.5917 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/0.7524, allocations: 205.5 kB / 0.5919 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/2.481, allocations: 0 / 0.5919 GB, free: 12.04 MB / 0.4981 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)