Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.0007595/0.0007596, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008059/0.0008059, allocations: 182 kB / 16.91 MB, free: 6.914 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.372/1.372, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7356/0.7356, allocations: 115.5 MB / 407.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003074, allocations: 8 kB / 496 MB, free: 6.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1397, allocations: 77.53 MB / 0.56 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001437/0.1412, allocations: 1.008 MB / 0.561 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1423, allocations: 0.5957 MB / 0.5616 GB, free: 7.324 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.907e-05/0.1423, allocations: 0 / 0.5616 GB, free: 7.324 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.045e-05/0.1423, allocations: 0 / 0.5616 GB, free: 7.324 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.1424, allocations: 7.875 kB / 0.5616 GB, free: 7.316 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005087/0.1429, allocations: 123.6 kB / 0.5617 GB, free: 7.195 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.978e-05/0.143, allocations: 23.92 kB / 0.5618 GB, free: 7.172 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.151e-05/0.143, allocations: 0 / 0.5618 GB, free: 7.172 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.106e-05/0.143, allocations: 8 kB / 0.5618 GB, free: 7.164 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.245e-05/0.1431, allocations: 11.92 kB / 0.5618 GB, free: 7.152 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.1431, allocations: 4 kB / 0.5618 GB, free: 7.148 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004986/0.1436, allocations: 343.3 kB / 0.5621 GB, free: 6.812 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.1436, allocations: 4 kB / 0.5621 GB, free: 6.809 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.1437, allocations: 33.64 kB / 0.5621 GB, free: 6.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.144, allocations: 151.9 kB / 0.5623 GB, free: 6.621 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.144, allocations: 0 / 0.5623 GB, free: 6.621 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.144, allocations: 0 / 0.5623 GB, free: 6.621 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.144, allocations: 0 / 0.5623 GB, free: 6.621 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000421/0.1444, allocations: 359.5 kB / 0.5626 GB, free: 6.219 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.1445, allocations: 8.031 kB / 0.5626 GB, free: 6.211 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.641e-05/0.1445, allocations: 30.75 kB / 0.5627 GB, free: 6.172 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.1446, allocations: 8.844 kB / 0.5627 GB, free: 6.164 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.1447, allocations: 164.4 kB / 0.5628 GB, free: 5.965 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1447, allocations: 384 / 0.5628 GB, free: 5.965 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.1447, allocations: 4.375 kB / 0.5628 GB, free: 5.961 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.1448, allocations: 50.19 kB / 0.5629 GB, free: 5.906 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1448, allocations: 3.938 kB / 0.5629 GB, free: 5.902 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.1448, allocations: 4 kB / 0.5629 GB, free: 5.898 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1449, allocations: 0 / 0.5629 GB, free: 5.898 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.568e-05/0.1449, allocations: 8 kB / 0.5629 GB, free: 5.891 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.1452, allocations: 252.9 kB / 0.5631 GB, free: 5.594 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.1454, allocations: 54.5 kB / 0.5632 GB, free: 5.531 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.69e-05/0.1455, allocations: 20.84 kB / 0.5632 GB, free: 5.508 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.1455, allocations: 4 kB / 0.5632 GB, free: 5.504 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.1456, allocations: 30.56 kB / 0.5633 GB, free: 5.465 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1456, allocations: 4 kB / 0.5633 GB, free: 5.461 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001685/0.1457, allocations: 53.69 kB / 0.5633 GB, free: 5.402 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.1458, allocations: 51.41 kB / 0.5634 GB, free: 5.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.046e-05/0.1459, allocations: 102 kB / 0.5635 GB, free: 5.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.1459, allocations: 25.7 kB / 0.5635 GB, free: 5.199 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.1459, allocations: 96.05 kB / 0.5636 GB, free: 5.102 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.298e-05/0.1459, allocations: 15.69 kB / 0.5636 GB, free: 5.086 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.146, allocations: 9.719 kB / 0.5636 GB, free: 5.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1461, allocations: 322.8 kB / 0.5639 GB, free: 4.746 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.83e-05/0.1461, allocations: 4 kB / 0.5639 GB, free: 4.742 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-05/0.1462, allocations: 17.72 kB / 0.5639 GB, free: 4.719 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.386e-05/0.1462, allocations: 37.88 kB / 0.564 GB, free: 4.676 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1462, allocations: 7.938 kB / 0.564 GB, free: 4.668 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.58e-05/0.1463, allocations: 57.62 kB / 0.564 GB, free: 4.605 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1463, allocations: 5.875 kB / 0.564 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1464, allocations: 0 / 0.564 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.1464, allocations: 0 / 0.564 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.72e-05/0.1464, allocations: 12.12 kB / 0.564 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1464, allocations: 0 / 0.564 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.552e-05/0.1465, allocations: 4 kB / 0.564 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.1465, allocations: 4 kB / 0.564 GB, free: 4.582 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 7.319e-05/0.1466, allocations: 121.7 kB / 0.5642 GB, free: 4.453 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.1466, allocations: 4 kB / 0.5642 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.1467, allocations: 57.19 kB / 0.5642 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1467, allocations: 0 / 0.5642 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1468, allocations: 0 / 0.5642 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1468, allocations: 0 / 0.5642 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.1469, allocations: 161.5 kB / 0.5644 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1469, allocations: 0 / 0.5644 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-05/0.147, allocations: 8 kB / 0.5644 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.147, allocations: 7.984 kB / 0.5644 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.147, allocations: 0 / 0.5644 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.147, allocations: 0 / 0.5644 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.147, allocations: 0 / 0.5644 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.1471, allocations: 151.4 kB / 0.5645 GB, free: 4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.1472, allocations: 89.05 kB / 0.5646 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.1472, allocations: 0 / 0.5646 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.917e-05/0.1473, allocations: 3.938 kB / 0.5646 GB, free: 3.891 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.1473, allocations: 4 kB / 0.5646 GB, free: 3.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1473, allocations: 7.938 kB / 0.5646 GB, free: 3.879 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.311e-05/0.1474, allocations: 79.27 kB / 0.5647 GB, free: 3.801 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1474, allocations: 0 / 0.5647 GB, free: 3.801 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.1476, allocations: 24 kB / 0.5647 GB, free: 3.777 MB / 430.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 (4): * Single equations (assignments): 4 * 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.0004527/0.1481, allocations: 0.7007 MB / 0.5654 GB, free: 3.047 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.418e-05/0.1482, allocations: 24.31 kB / 0.5654 GB, free: 3.023 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1482, allocations: 0 / 0.5654 GB, free: 3.023 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.225e-05/0.1482, allocations: 15.94 kB / 0.5655 GB, free: 3.008 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.1484, allocations: 7.984 kB / 0.5655 GB, free: 3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004171/0.1489, allocations: 170.3 kB / 0.5656 GB, free: 2.789 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.1491, allocations: 0.681 MB / 0.5663 GB, free: 2.082 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.403e-05/0.1492, allocations: 7.984 kB / 0.5663 GB, free: 2.074 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.1492, allocations: 7.438 kB / 0.5663 GB, free: 2.066 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1492, allocations: 0 / 0.5663 GB, free: 2.066 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0104/0.1596, allocations: 1.189 MB / 0.5675 GB, free: 1.055 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/0.1598, allocations: 220.3 kB / 0.5677 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/1.815, allocations: 0 / 0.5677 GB, free: 0.8008 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)