Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.0007079/0.0007083, allocations: 93.41 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.0007328/0.0007329, allocations: 169 kB / 16.58 MB, free: 6.055 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.163/1.163, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.59/0.59, allocations: 113.7 MB / 405.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002658/0.0002658, allocations: 12.22 kB / 493.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1146, allocations: 77.12 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001013/0.1157, allocations: 0.955 MB / 0.5578 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007126/0.1164, allocations: 0.5397 MB / 0.5584 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.576e-05/0.1164, allocations: 3.938 kB / 0.5584 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.297e-05/0.1165, allocations: 3.984 kB / 0.5584 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.469e-05/0.1165, allocations: 4 kB / 0.5584 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.1168, allocations: 115.1 kB / 0.5585 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.353e-05/0.1169, allocations: 7.938 kB / 0.5585 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.236e-05/0.1169, allocations: 3.984 kB / 0.5585 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.566e-05/0.1169, allocations: 8 kB / 0.5585 GB, free: 10 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.469e-05/0.117, allocations: 3.938 kB / 0.5585 GB, free: 9.996 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.117, allocations: 3.984 kB / 0.5585 GB, free: 9.992 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004165/0.1174, allocations: 331.3 kB / 0.5588 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.712e-06/0.1174, allocations: 4 kB / 0.5588 GB, free: 9.664 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.1175, allocations: 29.7 kB / 0.5589 GB, free: 9.629 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.1176, allocations: 96.11 kB / 0.5589 GB, free: 9.535 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1176, allocations: 0 / 0.5589 GB, free: 9.535 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1176, allocations: 0 / 0.5589 GB, free: 9.535 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.339e-06/0.1176, allocations: 0 / 0.5589 GB, free: 9.535 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.0002857/0.1179, allocations: 351.3 kB / 0.5593 GB, free: 9.145 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.118, allocations: 8.031 kB / 0.5593 GB, free: 9.137 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.729e-05/0.118, allocations: 30.56 kB / 0.5593 GB, free: 9.098 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.743e-05/0.118, allocations: 7.938 kB / 0.5593 GB, free: 9.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.827e-05/0.1181, allocations: 167.1 kB / 0.5595 GB, free: 8.887 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.1181, allocations: 0 / 0.5595 GB, free: 8.887 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.1181, allocations: 7.953 kB / 0.5595 GB, free: 8.879 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.794e-05/0.1182, allocations: 33.64 kB / 0.5595 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1182, allocations: 3.984 kB / 0.5595 GB, free: 8.836 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-06/0.1182, allocations: 0 / 0.5595 GB, free: 8.836 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.1182, allocations: 0 / 0.5595 GB, free: 8.836 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.032e-05/0.1183, allocations: 4 kB / 0.5595 GB, free: 8.832 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.1184, allocations: 153.7 kB / 0.5597 GB, free: 8.633 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.779e-05/0.1184, allocations: 26.59 kB / 0.5597 GB, free: 8.598 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.519e-05/0.1185, allocations: 8.922 kB / 0.5597 GB, free: 8.586 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.1185, allocations: 0 / 0.5597 GB, free: 8.586 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.1185, allocations: 38.45 kB / 0.5597 GB, free: 8.539 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.1185, allocations: 0 / 0.5597 GB, free: 8.539 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001106/0.1186, allocations: 45.61 kB / 0.5598 GB, free: 8.488 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.1187, allocations: 55.53 kB / 0.5598 GB, free: 8.422 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.822e-05/0.1187, allocations: 93.84 kB / 0.5599 GB, free: 8.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.457e-06/0.1187, allocations: 25.7 kB / 0.56 GB, free: 8.289 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.593e-05/0.1188, allocations: 88.14 kB / 0.56 GB, free: 8.199 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.1188, allocations: 7.906 kB / 0.56 GB, free: 8.191 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-06/0.1188, allocations: 0 / 0.56 GB, free: 8.191 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.1189, allocations: 310.8 kB / 0.5603 GB, free: 7.879 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.507e-06/0.1189, allocations: 7.938 kB / 0.5604 GB, free: 7.871 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.666e-06/0.1189, allocations: 4.125 kB / 0.5604 GB, free: 7.867 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.506e-05/0.1189, allocations: 11.92 kB / 0.5604 GB, free: 7.855 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1189, allocations: 0 / 0.5604 GB, free: 7.855 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.002e-05/0.119, allocations: 37.7 kB / 0.5604 GB, free: 7.812 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.119, allocations: 7.953 kB / 0.5604 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.119, allocations: 0 / 0.5604 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.876e-06/0.119, allocations: 0 / 0.5604 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.1192, allocations: 11.98 kB / 0.5604 GB, free: 7.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002821/0.1194, allocations: 0.5939 MB / 0.561 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.535e-05/0.1195, allocations: 0 / 0.561 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.1195, allocations: 0 / 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 6.545e-05/0.1195, allocations: 113.8 kB / 0.5611 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-06/0.1196, allocations: 7.969 kB / 0.5611 GB, free: 7.047 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.372e-05/0.1196, allocations: 48.91 kB / 0.5612 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1197, allocations: 0 / 0.5612 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1197, allocations: 0 / 0.5612 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1197, allocations: 0 / 0.5612 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.68e-05/0.1198, allocations: 157.6 kB / 0.5613 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1198, allocations: 0 / 0.5613 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.251e-05/0.1198, allocations: 11.98 kB / 0.5613 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1198, allocations: 0 / 0.5613 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-06/0.1198, allocations: 0 / 0.5613 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002251/0.1201, allocations: 0.5898 MB / 0.5619 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1201, allocations: 0 / 0.5619 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.178e-05/0.1201, allocations: 69.11 kB / 0.562 GB, free: 6.074 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.1202, allocations: 81.11 kB / 0.562 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-06/0.1202, allocations: 0 / 0.562 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.213e-05/0.1202, allocations: 0 / 0.562 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.1202, allocations: 4.125 kB / 0.562 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.1202, allocations: 7.938 kB / 0.5621 GB, free: 5.965 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.2e-05/0.1203, allocations: 75.28 kB / 0.5621 GB, free: 5.891 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1203, allocations: 0 / 0.5621 GB, free: 5.891 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001762/0.1204, allocations: 11.94 kB / 0.5621 GB, free: 5.879 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.0003306/0.1208, allocations: 0.6171 MB / 0.5627 GB, free: 5.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.1209, allocations: 19.98 kB / 0.5628 GB, free: 5.211 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1209, allocations: 0 / 0.5628 GB, free: 5.211 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.324e-05/0.121, allocations: 19.92 kB / 0.5628 GB, free: 5.191 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.1211, allocations: 0 / 0.5628 GB, free: 5.191 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.1215, allocations: 154.5 kB / 0.5629 GB, free: 5.004 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.1217, allocations: 0.6731 MB / 0.5636 GB, free: 4.305 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.377e-05/0.1217, allocations: 4 kB / 0.5636 GB, free: 4.301 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.655e-05/0.1217, allocations: 7.438 kB / 0.5636 GB, free: 4.293 MB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1217, allocations: 0 / 0.5636 GB, free: 4.293 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01065/0.1324, allocations: 1.137 MB / 0.5647 GB, free: 3.402 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/0.1326, allocations: 238.5 kB / 0.5649 GB, free: 3.164 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.402/1.534, allocations: 2.531 kB / 0.5649 GB, free: 3.164 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) Environment - environmentSimulation: