Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.000703/0.000703, allocations: 91.69 kB / 15.7 MB, free: 468 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.0007326/0.0007328, allocations: 176.6 kB / 16.58 MB, free: 6.852 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.189/1.189, allocations: 223.2 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6114/0.6114, allocations: 113.7 MB / 405.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002661/0.0002662, allocations: 8 kB / 493.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1226, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001014/0.1236, allocations: 0.9589 MB / 0.5578 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007544/0.1244, allocations: 0.5436 MB / 0.5584 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.673e-05/0.1244, allocations: 0 / 0.5584 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.228e-05/0.1244, allocations: 0 / 0.5584 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.389e-05/0.1245, allocations: 3.984 kB / 0.5584 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.1248, allocations: 119.5 kB / 0.5585 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.845e-05/0.1249, allocations: 4 kB / 0.5585 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.585e-05/0.1249, allocations: 4 kB / 0.5585 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.711e-05/0.125, allocations: 3.938 kB / 0.5585 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.86e-05/0.125, allocations: 7.938 kB / 0.5585 GB, free: 10 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.125, allocations: 0 / 0.5585 GB, free: 10 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004289/0.1255, allocations: 339.3 kB / 0.5588 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.775e-06/0.1255, allocations: 3.984 kB / 0.5588 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.881e-05/0.1255, allocations: 25.7 kB / 0.5588 GB, free: 9.637 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.1256, allocations: 96.11 kB / 0.5589 GB, free: 9.543 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1256, allocations: 4 kB / 0.5589 GB, free: 9.539 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1257, allocations: 0 / 0.5589 GB, free: 9.539 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.1257, allocations: 0 / 0.5589 GB, free: 9.539 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002895/0.126, allocations: 351.3 kB / 0.5593 GB, free: 9.148 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.126, allocations: 8.031 kB / 0.5593 GB, free: 9.141 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.488e-05/0.126, allocations: 30.56 kB / 0.5593 GB, free: 9.102 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.573e-05/0.126, allocations: 3.938 kB / 0.5593 GB, free: 9.098 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.049e-05/0.1261, allocations: 167.1 kB / 0.5595 GB, free: 8.895 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.1261, allocations: 0 / 0.5595 GB, free: 8.895 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.1262, allocations: 11.89 kB / 0.5595 GB, free: 8.883 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.826e-05/0.1262, allocations: 33.7 kB / 0.5595 GB, free: 8.844 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.1262, allocations: 0 / 0.5595 GB, free: 8.844 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.1e-06/0.1263, allocations: 0 / 0.5595 GB, free: 8.844 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-06/0.1263, allocations: 0 / 0.5595 GB, free: 8.844 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.997e-05/0.1263, allocations: 4 kB / 0.5595 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001191/0.1264, allocations: 157.7 kB / 0.5597 GB, free: 8.637 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.942e-05/0.1265, allocations: 22.58 kB / 0.5597 GB, free: 8.605 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.535e-05/0.1265, allocations: 12.8 kB / 0.5597 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.1265, allocations: 8.047 kB / 0.5597 GB, free: 8.582 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.1265, allocations: 34.52 kB / 0.5598 GB, free: 8.539 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.1265, allocations: 0 / 0.5598 GB, free: 8.539 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001079/0.1266, allocations: 41.59 kB / 0.5598 GB, free: 8.492 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.1267, allocations: 55.41 kB / 0.5598 GB, free: 8.426 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.07e-05/0.1267, allocations: 97.98 kB / 0.5599 GB, free: 8.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.1268, allocations: 25.7 kB / 0.56 GB, free: 8.289 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.582e-05/0.1268, allocations: 84.14 kB / 0.56 GB, free: 8.203 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.1268, allocations: 11.89 kB / 0.5601 GB, free: 8.191 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.1268, allocations: 0 / 0.5601 GB, free: 8.191 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.933e-05/0.1269, allocations: 314.8 kB / 0.5604 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-06/0.1269, allocations: 3.938 kB / 0.5604 GB, free: 7.871 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-06/0.1269, allocations: 4 kB / 0.5604 GB, free: 7.867 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.356e-05/0.1269, allocations: 4.188 kB / 0.5604 GB, free: 7.863 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1269, allocations: 0 / 0.5604 GB, free: 7.863 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.329e-05/0.127, allocations: 45.69 kB / 0.5604 GB, free: 7.812 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.127, allocations: 7.953 kB / 0.5604 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.127, allocations: 0 / 0.5604 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.415e-06/0.127, allocations: 3.938 kB / 0.5604 GB, free: 7.801 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.1272, allocations: 8 kB / 0.5604 GB, free: 7.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002827/0.1275, allocations: 0.586 MB / 0.561 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.767e-05/0.1275, allocations: 3.984 kB / 0.561 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.1275, allocations: 4.031 kB / 0.561 GB, free: 7.176 MB / 430.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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 5.971e-05/0.1276, allocations: 109.8 kB / 0.5611 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-06/0.1276, allocations: 3.938 kB / 0.5611 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.327e-05/0.1277, allocations: 44.81 kB / 0.5612 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1277, allocations: 0 / 0.5612 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1277, allocations: 8.125 kB / 0.5612 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.1277, allocations: 0 / 0.5612 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.775e-05/0.1278, allocations: 149.6 kB / 0.5613 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1278, allocations: 0 / 0.5613 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.448e-05/0.1278, allocations: 15.92 kB / 0.5613 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1279, allocations: 0 / 0.5613 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-06/0.1279, allocations: 4 kB / 0.5613 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002401/0.1281, allocations: 0.582 MB / 0.5619 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1281, allocations: 4.094 kB / 0.5619 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.609e-05/0.1282, allocations: 69.05 kB / 0.562 GB, free: 6.082 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.1282, allocations: 77.11 kB / 0.562 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-06/0.1282, allocations: 4 kB / 0.562 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.253e-05/0.1283, allocations: 0 / 0.562 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.355e-05/0.1283, allocations: 3.984 kB / 0.562 GB, free: 5.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.1283, allocations: 4 kB / 0.5621 GB, free: 5.977 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.481e-05/0.1283, allocations: 83.31 kB / 0.5621 GB, free: 5.895 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1283, allocations: 0 / 0.5621 GB, free: 5.895 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001725/0.1285, allocations: 11.94 kB / 0.5621 GB, free: 5.883 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000307/0.1288, allocations: 0.6054 MB / 0.5627 GB, free: 5.246 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.1289, allocations: 27.92 kB / 0.5628 GB, free: 5.219 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.129, allocations: 0 / 0.5628 GB, free: 5.219 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.26e-05/0.129, allocations: 15.98 kB / 0.5628 GB, free: 5.203 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.1292, allocations: 0 / 0.5628 GB, free: 5.203 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.1295, allocations: 140.8 kB / 0.5629 GB, free: 5.027 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.1297, allocations: 0.677 MB / 0.5636 GB, free: 4.324 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.447e-05/0.1297, allocations: 0 / 0.5636 GB, free: 4.324 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.727e-05/0.1297, allocations: 11.44 kB / 0.5636 GB, free: 4.312 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1297, allocations: 3.938 kB / 0.5636 GB, free: 4.309 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01041/0.1402, allocations: 1.151 MB / 0.5647 GB, free: 3.41 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/0.1404, allocations: 264 kB / 0.565 GB, free: 3.066 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.403/1.544, allocations: 0 / 0.565 GB, free: 3.066 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) Environment - environmentSimulation: