Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 107.2 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 196.6 kB / 19.41 MB, free: 3.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002514/0.002514, allocations: 282.5 kB / 303 MB, free: 9.516 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.171/1.171, allocations: 180.9 MB / 0.5261 GB, free: 14.69 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00274/0.00274, allocations: 103.2 kB / 0.7248 GB, free: 39.98 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1578, allocations: 94.15 MB / 0.8167 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002382/0.1602, allocations: 1.29 MB / 0.818 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.1612, allocations: 0.6013 MB / 0.8186 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.1612, allocations: 4 kB / 0.8186 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.1612, allocations: 0 / 0.8186 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.849e-05/0.1613, allocations: 7.922 kB / 0.8186 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00049/0.1618, allocations: 144 kB / 0.8187 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.172e-05/0.1618, allocations: 19.94 kB / 0.8187 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.1619, allocations: 4 kB / 0.8187 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.237e-05/0.1619, allocations: 11.92 kB / 0.8187 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.82e-05/0.1619, allocations: 11.98 kB / 0.8188 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.318e-06/0.162, allocations: 0 / 0.8188 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005072/0.1625, allocations: 343.3 kB / 0.8191 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.1625, allocations: 0 / 0.8191 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.1625, allocations: 15.91 kB / 0.8191 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.1628, allocations: 143.8 kB / 0.8192 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1628, allocations: 0 / 0.8192 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1628, allocations: 0 / 0.8192 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1628, allocations: 4 kB / 0.8192 GB, free: 2.832 MB / 0.5606 GB 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.0004516/0.1632, allocations: 363.1 kB / 0.8196 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1633, allocations: 12.03 kB / 0.8196 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.557e-05/0.1633, allocations: 34.75 kB / 0.8196 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.026e-05/0.1633, allocations: 0.9375 kB / 0.8196 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.1634, allocations: 168.3 kB / 0.8198 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-06/0.1634, allocations: 384 / 0.8198 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.1635, allocations: 384 / 0.8198 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.1636, allocations: 54.12 kB / 0.8198 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.088e-06/0.1636, allocations: 3.938 kB / 0.8198 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.1636, allocations: 3.938 kB / 0.8199 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1636, allocations: 0 / 0.8199 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.584e-05/0.1636, allocations: 19.98 kB / 0.8199 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.164, allocations: 253 kB / 0.8201 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.1642, allocations: 42.56 kB / 0.8202 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.714e-05/0.1642, allocations: 24.8 kB / 0.8202 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.1642, allocations: 3.984 kB / 0.8202 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.1642, allocations: 30.56 kB / 0.8202 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1642, allocations: 0 / 0.8202 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001676/0.1644, allocations: 57.69 kB / 0.8203 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.1644, allocations: 51.41 kB / 0.8203 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.928e-05/0.1645, allocations: 97.86 kB / 0.8204 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.1645, allocations: 29.7 kB / 0.8204 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.1646, allocations: 88.08 kB / 0.8205 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.1646, allocations: 11.94 kB / 0.8205 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.1646, allocations: 21.67 kB / 0.8206 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1648, allocations: 310.8 kB / 0.8208 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.987e-05/0.1648, allocations: 15.92 kB / 0.8209 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.057e-05/0.1648, allocations: 21.72 kB / 0.8209 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.192e-05/0.1649, allocations: 30.09 kB / 0.8209 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1649, allocations: 3.938 kB / 0.8209 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.415e-05/0.165, allocations: 61.61 kB / 0.821 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.165, allocations: 10.34 kB / 0.821 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.165, allocations: 3.984 kB / 0.821 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.165, allocations: 0 / 0.821 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.709e-05/0.165, allocations: 8 kB / 0.821 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1651, allocations: 0 / 0.821 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.556e-05/0.1651, allocations: 3.938 kB / 0.821 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.1651, allocations: 8.031 kB / 0.821 GB, free: 0.7773 MB / 0.5606 GB 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.906e-05/0.1652, allocations: 113.8 kB / 0.8211 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.1652, allocations: 0 / 0.8211 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.1653, allocations: 65.23 kB / 0.8212 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1653, allocations: 3.938 kB / 0.8212 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1653, allocations: 8 kB / 0.8212 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1653, allocations: 3.938 kB / 0.8212 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.1655, allocations: 161.6 kB / 0.8213 GB, free: 372 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1655, allocations: 4 kB / 0.8214 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.603e-05/0.1655, allocations: 8 kB / 0.8214 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1655, allocations: 0 / 0.8214 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.1655, allocations: 0 / 0.8214 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1655, allocations: 0 / 0.8214 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1655, allocations: 0 / 0.8214 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.1657, allocations: 151.4 kB / 0.8215 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.1657, allocations: 81.09 kB / 0.8216 GB, free: 92 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.1657, allocations: 8 kB / 0.8216 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.009e-05/0.1658, allocations: 0 / 0.8216 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.1658, allocations: 4 kB / 0.8216 GB, free: 80 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.1658, allocations: 0 / 0.8216 GB, free: 80 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.159e-05/0.1658, allocations: 79.28 kB / 0.8217 GB, free: 0 / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1658, allocations: 0 / 0.8217 GB, free: 0 / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002792/0.1661, allocations: 23.92 kB / 0.8217 GB, free: 15.98 MB / 0.5762 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 (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.0005026/0.1666, allocations: 0.7088 MB / 0.8224 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.683e-05/0.1667, allocations: 23.98 kB / 0.8224 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.1667, allocations: 4 kB / 0.8224 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.925e-05/0.1667, allocations: 8 kB / 0.8224 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.1669, allocations: 4.875 kB / 0.8224 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000438/0.1674, allocations: 160.6 kB / 0.8226 GB, free: 15 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.1677, allocations: 0.6807 MB / 0.8232 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.008e-05/0.1677, allocations: 7.938 kB / 0.8232 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.1677, allocations: 11.44 kB / 0.8233 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.1677, allocations: 0 / 0.8233 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0239/0.1916, allocations: 1.416 MB / 0.8246 GB, free: 13 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/8.331, allocations: 11.42 kB / 0.8247 GB, free: 12.99 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.246355873998255] Failed to read output from testmodel.py, exit status != 0: 8.416341244243085 8.436324583 8.270098633 Calling exit ...