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.0007067/0.0007068, allocations: 92.78 kB / 15.7 MB, free: 472 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.0007509/0.0007509, allocations: 173.4 kB / 16.58 MB, free: 5.668 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.178/1.178, allocations: 223.3 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.599/0.599, allocations: 113.7 MB / 405.4 MB, free: 4.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002613/0.0002614, allocations: 12 kB / 493.2 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1172, allocations: 77.1 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00105/0.1183, allocations: 0.9939 MB / 0.5579 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007419/0.119, allocations: 0.5437 MB / 0.5584 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.405e-05/0.1191, allocations: 0 / 0.5584 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.434e-05/0.1191, allocations: 0 / 0.5584 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.498e-05/0.1191, allocations: 7.938 kB / 0.5584 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.1195, allocations: 119 kB / 0.5585 GB, free: 9.992 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.028e-05/0.1195, allocations: 23.86 kB / 0.5585 GB, free: 9.969 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.127e-05/0.1196, allocations: 4 kB / 0.5585 GB, free: 9.965 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.739e-05/0.1196, allocations: 7.984 kB / 0.5586 GB, free: 9.957 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.037e-05/0.1196, allocations: 11.98 kB / 0.5586 GB, free: 9.945 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.606e-06/0.1197, allocations: 3.938 kB / 0.5586 GB, free: 9.941 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004029/0.1201, allocations: 327.4 kB / 0.5589 GB, free: 9.621 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.949e-06/0.1201, allocations: 11.92 kB / 0.5589 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.935e-05/0.1201, allocations: 25.7 kB / 0.5589 GB, free: 9.578 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.1203, allocations: 96.12 kB / 0.559 GB, free: 9.484 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1203, allocations: 4 kB / 0.559 GB, free: 9.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1203, allocations: 3.938 kB / 0.559 GB, free: 9.477 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.1203, allocations: 0 / 0.559 GB, free: 9.477 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.0003106/0.1206, allocations: 355.3 kB / 0.5594 GB, free: 9.082 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.1206, allocations: 12.03 kB / 0.5594 GB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.344e-05/0.1207, allocations: 34.5 kB / 0.5594 GB, free: 9.027 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.31e-05/0.1207, allocations: 3.906 kB / 0.5594 GB, free: 9.023 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.385e-05/0.1208, allocations: 159.1 kB / 0.5596 GB, free: 8.828 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.1208, allocations: 4 kB / 0.5596 GB, free: 8.824 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.1208, allocations: 7.953 kB / 0.5596 GB, free: 8.816 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.143e-05/0.1209, allocations: 45.62 kB / 0.5596 GB, free: 8.766 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.1209, allocations: 0 / 0.5596 GB, free: 8.766 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.1209, allocations: 4 kB / 0.5596 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1209, allocations: 0 / 0.5596 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.608e-05/0.121, allocations: 11.98 kB / 0.5596 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/0.1212, allocations: 260.9 kB / 0.5599 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.1214, allocations: 46.62 kB / 0.5599 GB, free: 8.391 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.049e-05/0.1215, allocations: 20.84 kB / 0.5599 GB, free: 8.367 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.1215, allocations: 3.938 kB / 0.5599 GB, free: 8.363 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.1215, allocations: 34.56 kB / 0.56 GB, free: 8.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.1215, allocations: 0 / 0.56 GB, free: 8.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001293/0.1216, allocations: 53.69 kB / 0.56 GB, free: 8.262 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.1217, allocations: 51.41 kB / 0.5601 GB, free: 8.199 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.141e-05/0.1217, allocations: 98.05 kB / 0.5602 GB, free: 8.094 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1218, allocations: 25.7 kB / 0.5602 GB, free: 8.062 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.356e-05/0.1218, allocations: 96.03 kB / 0.5603 GB, free: 7.965 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.477e-06/0.1218, allocations: 7.844 kB / 0.5603 GB, free: 7.957 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.1218, allocations: 0 / 0.5603 GB, free: 7.957 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.369e-05/0.1219, allocations: 318.8 kB / 0.5606 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/0.1219, allocations: 7.938 kB / 0.5606 GB, free: 7.629 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.63e-05/0.122, allocations: 25.7 kB / 0.5606 GB, free: 7.598 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.114e-05/0.122, allocations: 12.11 kB / 0.5606 GB, free: 7.586 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.122, allocations: 3.953 kB / 0.5606 GB, free: 7.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.744e-05/0.1221, allocations: 61.59 kB / 0.5607 GB, free: 7.516 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.1221, allocations: 7.938 kB / 0.5607 GB, free: 7.508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.1221, allocations: 0 / 0.5607 GB, free: 7.508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.1221, allocations: 4 kB / 0.5607 GB, free: 7.504 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.946e-05/0.1222, allocations: 4.125 kB / 0.5607 GB, free: 7.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.1222, allocations: 11.98 kB / 0.5607 GB, free: 7.488 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.064e-05/0.1222, allocations: 4.031 kB / 0.5607 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.1222, allocations: 0 / 0.5607 GB, free: 7.484 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.061e-05/0.1223, allocations: 113.8 kB / 0.5608 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.1223, allocations: 3.953 kB / 0.5608 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.1224, allocations: 61.12 kB / 0.5609 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1224, allocations: 0 / 0.5609 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.1224, allocations: 0 / 0.5609 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.1224, allocations: 3.984 kB / 0.5609 GB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.1226, allocations: 169.5 kB / 0.5611 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1226, allocations: 0 / 0.5611 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.284e-05/0.1226, allocations: 7.953 kB / 0.5611 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1226, allocations: 0 / 0.5611 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.1227, allocations: 0 / 0.5611 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1227, allocations: 4 kB / 0.5611 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1227, allocations: 0 / 0.5611 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.1228, allocations: 143.5 kB / 0.5612 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.7e-05/0.1228, allocations: 85.05 kB / 0.5613 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.1228, allocations: 7.953 kB / 0.5613 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.609e-05/0.1229, allocations: 0 / 0.5613 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.1229, allocations: 11.92 kB / 0.5613 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.1229, allocations: 0 / 0.5613 GB, free: 6.777 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.688e-05/0.1229, allocations: 79.28 kB / 0.5614 GB, free: 6.699 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1229, allocations: 0 / 0.5614 GB, free: 6.699 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002259/0.1232, allocations: 16 kB / 0.5614 GB, free: 6.684 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 (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.000362/0.1235, allocations: 0.7053 MB / 0.5621 GB, free: 5.949 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.111e-05/0.1236, allocations: 20.27 kB / 0.5621 GB, free: 5.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.1236, allocations: 3.938 kB / 0.5621 GB, free: 5.926 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.834e-05/0.1237, allocations: 11.98 kB / 0.5621 GB, free: 5.914 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.1238, allocations: 14.14 kB / 0.5621 GB, free: 5.902 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.1242, allocations: 174.2 kB / 0.5623 GB, free: 5.688 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.1244, allocations: 0.6772 MB / 0.563 GB, free: 4.984 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.006e-05/0.1244, allocations: 7.969 kB / 0.563 GB, free: 4.977 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.1245, allocations: 15.44 kB / 0.563 GB, free: 4.961 MB / 430.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1245, allocations: 0 / 0.563 GB, free: 4.961 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0101/0.1346, allocations: 1.182 MB / 0.5642 GB, free: 3.961 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/0.1348, allocations: 214 kB / 0.5644 GB, free: 3.715 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.401/1.536, allocations: 0 / 0.5644 GB, free: 3.715 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/linux/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) Environment - environmentSimulation: