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.001307/0.001307, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001406/0.001406, allocations: 211.8 kB / 22.24 MB, free: 4.855 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.381/1.381, allocations: 230.6 MB / 256 MB, free: 7.801 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.8226/0.8226, allocations: 134 MB / 446.4 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",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.002077/0.002077, allocations: 63.34 kB / 0.6185 GB, free: 6.898 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1735, allocations: 85.91 MB / 0.7024 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002325/0.1758, allocations: 1.296 MB / 0.7036 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1769, allocations: 0.5293 MB / 0.7042 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.1769, allocations: 0 / 0.7042 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.295e-05/0.1769, allocations: 3.938 kB / 0.7042 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.849e-05/0.177, allocations: 8 kB / 0.7042 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005405/0.1775, allocations: 147.4 kB / 0.7043 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.49e-05/0.1776, allocations: 15.88 kB / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.765e-05/0.1776, allocations: 7.984 kB / 0.7043 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.821e-05/0.1777, allocations: 11.98 kB / 0.7043 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.566e-05/0.1777, allocations: 7.938 kB / 0.7043 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.1777, allocations: 0 / 0.7043 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004434/0.1782, allocations: 271.5 kB / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.1782, allocations: 4 kB / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.1782, allocations: 11.94 kB / 0.7046 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.1785, allocations: 135.8 kB / 0.7048 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1785, allocations: 0 / 0.7048 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1785, allocations: 4 kB / 0.7048 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.1785, allocations: 0 / 0.7048 GB, free: 14.62 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.0004945/0.179, allocations: 293.9 kB / 0.705 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.179, allocations: 8.031 kB / 0.705 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.391e-05/0.179, allocations: 34.69 kB / 0.7051 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.1791, allocations: 4.938 kB / 0.7051 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.1792, allocations: 110.5 kB / 0.7052 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1792, allocations: 4.375 kB / 0.7052 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.1792, allocations: 4.125 kB / 0.7052 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.1793, allocations: 49.64 kB / 0.7052 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1793, allocations: 3.984 kB / 0.7052 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1794, allocations: 3.984 kB / 0.7052 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1794, allocations: 0 / 0.7052 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.174e-05/0.1794, allocations: 12 kB / 0.7053 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.1798, allocations: 232 kB / 0.7055 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.18, allocations: 42.62 kB / 0.7055 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.18, allocations: 16.86 kB / 0.7055 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.1801, allocations: 3.938 kB / 0.7055 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.1801, allocations: 38.55 kB / 0.7056 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1801, allocations: 4 kB / 0.7056 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001791/0.1803, allocations: 53.62 kB / 0.7056 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.1803, allocations: 51.41 kB / 0.7057 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.246e-05/0.1804, allocations: 97.86 kB / 0.7058 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.1804, allocations: 25.7 kB / 0.7058 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.1805, allocations: 88.09 kB / 0.7059 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.1805, allocations: 15.88 kB / 0.7059 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.1805, allocations: 25.67 kB / 0.7059 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.1807, allocations: 318.8 kB / 0.7062 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.258e-05/0.1807, allocations: 4 kB / 0.7062 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.341e-05/0.1808, allocations: 25.64 kB / 0.7063 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.628e-05/0.1808, allocations: 29.72 kB / 0.7063 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1808, allocations: 0 / 0.7063 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.599e-05/0.1809, allocations: 57.62 kB / 0.7063 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1809, allocations: 6.5 kB / 0.7063 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1809, allocations: 0 / 0.7063 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.181, allocations: 8.031 kB / 0.7064 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.661e-05/0.181, allocations: 7.984 kB / 0.7064 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.181, allocations: 4 kB / 0.7064 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.543e-05/0.181, allocations: 4 kB / 0.7064 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.181, allocations: 0 / 0.7064 GB, free: 12.77 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.666e-05/0.1811, allocations: 113.8 kB / 0.7065 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.1811, allocations: 0 / 0.7065 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.1813, allocations: 65.72 kB / 0.7065 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1813, allocations: 0 / 0.7065 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.1813, allocations: 0 / 0.7065 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1813, allocations: 8.031 kB / 0.7065 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.1815, allocations: 140.6 kB / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1815, allocations: 0 / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.671e-05/0.1815, allocations: 7.984 kB / 0.7067 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1815, allocations: 4 kB / 0.7067 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/0.1815, allocations: 128 / 0.7067 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1815, allocations: 4 kB / 0.7067 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1815, allocations: 0 / 0.7067 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.1817, allocations: 151.4 kB / 0.7068 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.725e-06/0.1817, allocations: 4 kB / 0.7068 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.1817, allocations: 0 / 0.7068 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.956e-05/0.1817, allocations: 7.938 kB / 0.7069 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.1817, allocations: 3.984 kB / 0.7069 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1817, allocations: 4 kB / 0.7069 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.743e-05/0.1818, allocations: 75.28 kB / 0.7069 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1818, allocations: 0 / 0.7069 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002491/0.182, allocations: 27.88 kB / 0.707 GB, free: 12.09 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.0004802/0.1825, allocations: 0.7005 MB / 0.7076 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.062e-05/0.1826, allocations: 20 kB / 0.7077 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1826, allocations: 0 / 0.7077 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.511e-05/0.1826, allocations: 20.05 kB / 0.7077 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.1828, allocations: 0 / 0.7077 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.1833, allocations: 164.4 kB / 0.7078 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.599e-05/0.1834, allocations: 67.2 kB / 0.7079 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.281e-05/0.1834, allocations: 7.984 kB / 0.7079 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.1834, allocations: 15.42 kB / 0.7079 GB, free: 11 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1834, allocations: 0 / 0.7079 GB, free: 11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02907/0.2125, allocations: 1.88 MB / 0.7098 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.38, allocations: 1.719 kB / 0.7098 GB, free: 9.266 MB / 0.5294 GB " [Timeout remaining time 649] (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: 14.754140136763453] Failed to read output from testmodel.py, exit status != 0: 11.484531522262841 11.505652209 11.323411294 Calling exit ...