Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 101.3 kB / 19.73 MB, free: 1.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 215.6 kB / 23.03 MB, free: 4.422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8974/0.8974, allocations: 134 MB / 447.2 MB, free: 9.957 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 65.28 kB / 0.6192 GB, free: 6.887 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1664, allocations: 85.91 MB / 0.7031 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002674/0.1691, allocations: 1.287 MB / 0.7044 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.1701, allocations: 0.5332 MB / 0.7049 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.689e-05/0.1701, allocations: 0 / 0.7049 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.755e-05/0.1702, allocations: 4 kB / 0.7049 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.085e-05/0.1702, allocations: 7.922 kB / 0.7049 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000548/0.1708, allocations: 147.4 kB / 0.7051 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.837e-05/0.1708, allocations: 19.88 kB / 0.7051 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.1709, allocations: 3.938 kB / 0.7051 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.788e-05/0.1709, allocations: 15.97 kB / 0.7051 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.1709, allocations: 7.938 kB / 0.7051 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.1709, allocations: 0 / 0.7051 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004403/0.1714, allocations: 283.5 kB / 0.7054 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.1714, allocations: 7.984 kB / 0.7054 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.1714, allocations: 11.94 kB / 0.7054 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.1717, allocations: 131.9 kB / 0.7055 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1717, allocations: 3.984 kB / 0.7055 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1717, allocations: 0 / 0.7055 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.1717, allocations: 0 / 0.7055 GB, free: 14.61 MB / 0.5294 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.0004385/0.1721, allocations: 293.9 kB / 0.7058 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1722, allocations: 12.03 kB / 0.7058 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.59e-05/0.1722, allocations: 192 / 0.7058 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.164e-05/0.1722, allocations: 30.75 kB / 0.7059 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.466e-05/0.1723, allocations: 8.938 kB / 0.7059 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.1724, allocations: 114.5 kB / 0.706 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.1724, allocations: 384 / 0.706 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.1724, allocations: 11.94 kB / 0.706 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.1726, allocations: 41.69 kB / 0.706 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1726, allocations: 0 / 0.706 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.1726, allocations: 0 / 0.706 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1726, allocations: 0 / 0.706 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.089e-05/0.1726, allocations: 12 kB / 0.706 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.173, allocations: 228 kB / 0.7063 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.1733, allocations: 50.56 kB / 0.7063 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.1734, allocations: 12.86 kB / 0.7063 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.1734, allocations: 7.984 kB / 0.7063 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1734, allocations: 30.56 kB / 0.7064 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1734, allocations: 4 kB / 0.7064 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001858/0.1736, allocations: 57.62 kB / 0.7064 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.712e-05/0.1737, allocations: 51.41 kB / 0.7065 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.316e-05/0.1738, allocations: 93.86 kB / 0.7066 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.1738, allocations: 25.7 kB / 0.7066 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.1739, allocations: 96.08 kB / 0.7067 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.95e-05/0.174, allocations: 15.88 kB / 0.7067 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.174, allocations: 17.72 kB / 0.7067 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.1742, allocations: 318.8 kB / 0.707 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-05/0.1742, allocations: 7.984 kB / 0.707 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.291e-05/0.1742, allocations: 17.72 kB / 0.707 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.43e-05/0.1743, allocations: 33.66 kB / 0.7071 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1743, allocations: 3.938 kB / 0.7071 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000104/0.1744, allocations: 57.64 kB / 0.7071 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1744, allocations: 8.031 kB / 0.7071 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1744, allocations: 0 / 0.7071 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.1744, allocations: 7.922 kB / 0.7071 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.25e-05/0.1745, allocations: 16.06 kB / 0.7071 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1745, allocations: 4 kB / 0.7072 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.434e-05/0.1745, allocations: 4.422 kB / 0.7072 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.1745, allocations: 0 / 0.7072 GB, free: 12.75 MB / 0.5294 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 8.188e-05/0.1746, allocations: 113.8 kB / 0.7073 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.1746, allocations: 0 / 0.7073 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.1748, allocations: 69.34 kB / 0.7073 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1748, allocations: 4 kB / 0.7073 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1748, allocations: 0 / 0.7073 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1748, allocations: 0 / 0.7073 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.175, allocations: 136.6 kB / 0.7075 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.175, allocations: 0 / 0.7075 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/0.175, allocations: 7.938 kB / 0.7075 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.175, allocations: 0 / 0.7075 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.175, allocations: 4 kB / 0.7075 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.175, allocations: 0 / 0.7075 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.175, allocations: 0 / 0.7075 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.1752, allocations: 147.5 kB / 0.7076 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.1752, allocations: 8 kB / 0.7076 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.1752, allocations: 0 / 0.7076 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.161e-05/0.1752, allocations: 0 / 0.7076 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.1753, allocations: 3.984 kB / 0.7076 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.1753, allocations: 4 kB / 0.7076 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.157e-05/0.1753, allocations: 79.28 kB / 0.7077 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1753, allocations: 0 / 0.7077 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002756/0.1756, allocations: 27.81 kB / 0.7077 GB, free: 12.08 MB / 0.5294 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.0005412/0.1761, allocations: 0.6967 MB / 0.7084 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.748e-05/0.1762, allocations: 31.92 kB / 0.7084 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1762, allocations: 0 / 0.7084 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.058e-05/0.1762, allocations: 12 kB / 0.7085 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.1765, allocations: 2.188 kB / 0.7085 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.1769, allocations: 168.4 kB / 0.7086 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.941e-05/0.177, allocations: 59.22 kB / 0.7087 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.327e-05/0.177, allocations: 12.05 kB / 0.7087 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.107e-05/0.1771, allocations: 11.38 kB / 0.7087 GB, free: 11 MB / 0.5294 GB Notification: Performance of SimCode: time 3.41e-07/0.1771, allocations: 0 / 0.7087 GB, free: 11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.201, allocations: 1.561 MB / 0.7102 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.7, allocations: 12 kB / 0.7102 GB, free: 9.582 MB / 0.5294 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.320522877969779] Failed to read output from testmodel.py, exit status != 0: 11.859728323062882 11.878655992 11.70358096 Calling exit ...