Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.PowerLawFixedM,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.004639/0.004639, allocations: 100 kB / 15.73 MB, free: 5.988 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.001281/0.001281, allocations: 193.9 kB / 16.67 MB, free: 5.918 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8324/0.8324, allocations: 135.6 MB / 426.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 70.78 kB / 0.5857 GB, free: 21.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1335, allocations: 81.03 MB / 0.6649 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002289/0.1358, allocations: 1.292 MB / 0.6661 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005701/0.1364, allocations: 291.3 kB / 0.6664 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.736e-05/0.1364, allocations: 0 / 0.6664 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.679e-05/0.1365, allocations: 11.88 kB / 0.6664 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.085e-05/0.1366, allocations: 15.91 kB / 0.6664 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.1369, allocations: 75.72 kB / 0.6665 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.218e-05/0.1369, allocations: 31.92 kB / 0.6665 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.362e-05/0.137, allocations: 4 kB / 0.6665 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.961e-05/0.1371, allocations: 31.86 kB / 0.6666 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.1371, allocations: 15.91 kB / 0.6666 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.1372, allocations: 0 / 0.6666 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.1373, allocations: 83.91 kB / 0.6667 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.1374, allocations: 4 kB / 0.6667 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.1374, allocations: 11.88 kB / 0.6667 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.1376, allocations: 80 kB / 0.6668 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1376, allocations: 4 kB / 0.6668 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1376, allocations: 0 / 0.6668 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.1376, allocations: 0 / 0.6668 GB, free: 3.672 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.0004166/0.138, allocations: 355.2 kB / 0.6671 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1381, allocations: 9.109 kB / 0.6671 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.1381, allocations: 30.75 kB / 0.6671 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.1381, allocations: 8.891 kB / 0.6672 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.1383, allocations: 164.3 kB / 0.6673 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.1383, allocations: 8.359 kB / 0.6673 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.1383, allocations: 8.125 kB / 0.6673 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.814e-05/0.1384, allocations: 41.62 kB / 0.6674 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.1384, allocations: 0 / 0.6674 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.1384, allocations: 0 / 0.6674 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1384, allocations: 4 kB / 0.6674 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.791e-05/0.1385, allocations: 7.984 kB / 0.6674 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.1387, allocations: 161.7 kB / 0.6675 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.287e-05/0.1388, allocations: 38.62 kB / 0.6676 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.54e-05/0.1388, allocations: 12.8 kB / 0.6676 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001242/0.1401, allocations: 1.179 MB / 0.6687 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.1401, allocations: 38.5 kB / 0.6688 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.1401, allocations: 0 / 0.6688 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001469/0.1403, allocations: 49.69 kB / 0.6688 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.1403, allocations: 51.41 kB / 0.6689 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.784e-05/0.1404, allocations: 117.8 kB / 0.669 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.1404, allocations: 29.64 kB / 0.669 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.962e-05/0.1405, allocations: 80.14 kB / 0.6691 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.1405, allocations: 11.84 kB / 0.6691 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.1405, allocations: 21.72 kB / 0.6691 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1407, allocations: 314.8 kB / 0.6694 GB, free: 492 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.1407, allocations: 4 kB / 0.6694 GB, free: 488 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.231e-05/0.1407, allocations: 7.938 kB / 0.6694 GB, free: 480 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.934e-05/0.1408, allocations: 20.8 kB / 0.6694 GB, free: 456 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1408, allocations: 0 / 0.6694 GB, free: 456 kB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.763e-05/0.1409, allocations: 49.62 kB / 0.6695 GB, free: 400 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.1409, allocations: 4 kB / 0.6695 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1409, allocations: 0 / 0.6695 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1409, allocations: 8 kB / 0.6695 GB, free: 388 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.838e-05/0.141, allocations: 4 kB / 0.6695 GB, free: 384 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.141, allocations: 0 / 0.6695 GB, free: 384 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.816e-05/0.141, allocations: 3.984 kB / 0.6695 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.141, allocations: 0 / 0.6695 GB, free: 380 kB / 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 8.939e-05/0.1411, allocations: 113.8 kB / 0.6696 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.1411, allocations: 11.83 kB / 0.6696 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.1413, allocations: 65.91 kB / 0.6697 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1413, allocations: 0 / 0.6697 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1413, allocations: 0 / 0.6697 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1413, allocations: 0 / 0.6697 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.1414, allocations: 169.6 kB / 0.6699 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1415, allocations: 0 / 0.6699 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.756e-05/0.1415, allocations: 4 kB / 0.6699 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1415, allocations: 0 / 0.6699 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.1415, allocations: 4 kB / 0.6699 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1415, allocations: 0 / 0.6699 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1415, allocations: 4 kB / 0.6699 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.782e-05/0.1416, allocations: 73 kB / 0.6699 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.408e-05/0.1417, allocations: 89.05 kB / 0.67 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.1417, allocations: 0 / 0.67 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.02e-05/0.1418, allocations: 4 kB / 0.67 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.799e-05/0.1418, allocations: 4 kB / 0.67 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.1418, allocations: 3.938 kB / 0.67 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.889e-05/0.1419, allocations: 95.56 kB / 0.6701 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1419, allocations: 0 / 0.6701 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002222/0.1421, allocations: 31.88 kB / 0.6702 GB, free: 15.61 MB / 0.5137 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.0004772/0.1426, allocations: 0.6318 MB / 0.6708 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.352e-05/0.1427, allocations: 15.98 kB / 0.6708 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.1427, allocations: 4 kB / 0.6708 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.696e-05/0.1427, allocations: 8 kB / 0.6708 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.1429, allocations: 4 kB / 0.6708 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.1433, allocations: 171.4 kB / 0.671 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.1436, allocations: 0.6768 MB / 0.6716 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.828e-05/0.1437, allocations: 8 kB / 0.6716 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.908e-05/0.1437, allocations: 11.44 kB / 0.6716 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1437, allocations: 0 / 0.6716 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09041/0.2341, allocations: 1.627 MB / 0.6732 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.296/8.53, allocations: 8.516 kB / 0.6732 GB, free: 12.45 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)