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.0007692/0.0007692, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008105/0.0008106, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9239/0.9239, allocations: 135.3 MB / 426.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003125, allocations: 12.22 kB / 0.5071 GB, free: 5.02 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 82.32 MB / 0.5875 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001151/0.1382, allocations: 0.9712 MB / 0.5884 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002405/0.1384, allocations: 119.6 kB / 0.5885 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.823e-05/0.1384, allocations: 0 / 0.5885 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.129e-05/0.1385, allocations: 0 / 0.5885 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.156e-05/0.1385, allocations: 0 / 0.5885 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.1387, allocations: 31.91 kB / 0.5886 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.529e-05/0.1387, allocations: 15.92 kB / 0.5886 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.1388, allocations: 0 / 0.5886 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.037e-05/0.1388, allocations: 7.984 kB / 0.5886 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.889e-05/0.1389, allocations: 7.938 kB / 0.5886 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.1389, allocations: 4 kB / 0.5886 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.139, allocations: 47.94 kB / 0.5886 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.692e-06/0.139, allocations: 0 / 0.5886 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.139, allocations: 25.7 kB / 0.5887 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.742e-05/0.1391, allocations: 31.97 kB / 0.5887 GB, free: 1.598 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1391, allocations: 0 / 0.5887 GB, free: 1.598 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1391, allocations: 0 / 0.5887 GB, free: 1.598 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.986e-06/0.1392, allocations: 0 / 0.5887 GB, free: 1.598 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.0003185/0.1395, allocations: 327.5 kB / 0.589 GB, free: 1.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1395, allocations: 8.031 kB / 0.589 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.083e-05/0.1396, allocations: 30.56 kB / 0.589 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.951e-05/0.1396, allocations: 4 kB / 0.5891 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.1397, allocations: 174.9 kB / 0.5892 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.1397, allocations: 4 kB / 0.5892 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.1397, allocations: 4 kB / 0.5892 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.573e-05/0.1398, allocations: 29.7 kB / 0.5893 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1398, allocations: 4 kB / 0.5893 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-06/0.1398, allocations: 3.984 kB / 0.5893 GB, free: 0.918 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1398, allocations: 4 kB / 0.5893 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.709e-05/0.1399, allocations: 0 / 0.5893 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.14, allocations: 157.6 kB / 0.5894 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.584e-05/0.1401, allocations: 30.55 kB / 0.5894 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.678e-05/0.1401, allocations: 8.859 kB / 0.5895 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007263/0.1408, allocations: 0.6091 MB / 0.59 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1409, allocations: 38.56 kB / 0.5901 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.1409, allocations: 0 / 0.5901 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001294/0.141, allocations: 45.69 kB / 0.5901 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.141, allocations: 55.34 kB / 0.5902 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.649e-05/0.1411, allocations: 97.8 kB / 0.5903 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.1411, allocations: 29.7 kB / 0.5903 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.6e-05/0.1412, allocations: 84.14 kB / 0.5904 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.1412, allocations: 13.53 kB / 0.5904 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/0.1412, allocations: 0 / 0.5904 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.348e-05/0.1413, allocations: 314.9 kB / 0.5907 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.203e-05/0.1413, allocations: 8 kB / 0.5907 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.027e-06/0.1413, allocations: 4 kB / 0.5907 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.732e-05/0.1413, allocations: 4 kB / 0.5907 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1414, allocations: 0 / 0.5907 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.002e-05/0.1414, allocations: 37.69 kB / 0.5907 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.1414, allocations: 4 kB / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1414, allocations: 0 / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.1415, allocations: 4 kB / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.716e-05/0.1415, allocations: 96 / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1415, allocations: 4 kB / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.1416, allocations: 7.938 kB / 0.5908 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.1416, allocations: 0 / 0.5908 GB, free: 15.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.441e-05/0.1416, allocations: 117.7 kB / 0.5909 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.235e-06/0.1416, allocations: 7.844 kB / 0.5909 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.121e-05/0.1417, allocations: 48.81 kB / 0.5909 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1418, allocations: 0 / 0.5909 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1418, allocations: 0 / 0.5909 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.1418, allocations: 4.031 kB / 0.5909 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.208e-05/0.1419, allocations: 157.6 kB / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1419, allocations: 0 / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.1419, allocations: 4 kB / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1419, allocations: 0 / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.1419, allocations: 0 / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1419, allocations: 0 / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1419, allocations: 0 / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.37e-05/0.142, allocations: 73.06 kB / 0.5912 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.1421, allocations: 81.06 kB / 0.5912 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.1421, allocations: 0 / 0.5912 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.607e-05/0.1421, allocations: 0 / 0.5912 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.1421, allocations: 3.984 kB / 0.5912 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1421, allocations: 8 kB / 0.5912 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.1e-05/0.1422, allocations: 75.28 kB / 0.5913 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1422, allocations: 0 / 0.5913 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001949/0.1424, allocations: 16 kB / 0.5913 GB, free: 14.44 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003499/0.1427, allocations: 0.6202 MB / 0.5919 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.734e-05/0.1428, allocations: 7.984 kB / 0.5919 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1428, allocations: 4 kB / 0.592 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.335e-05/0.1428, allocations: 4 kB / 0.592 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.143, allocations: 8.156 kB / 0.592 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005087/0.1436, allocations: 348.4 kB / 0.5923 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.1438, allocations: 0.6771 MB / 0.593 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.935e-05/0.1438, allocations: 8.062 kB / 0.593 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.1438, allocations: 7.438 kB / 0.593 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1439, allocations: 0 / 0.593 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01027/0.1541, allocations: 1.222 MB / 0.5942 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/0.1543, allocations: 182.9 kB / 0.5943 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/1.708, allocations: 0 / 0.5943 GB, free: 11.34 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/linux/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) Environment - environmentSimulation: