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.001305/0.001305, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001556/0.001556, allocations: 217.8 kB / 23.04 MB, free: 5.078 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.8612/0.8612, allocations: 134 MB / 447.2 MB, free: 10.25 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.002127/0.002127, allocations: 65.23 kB / 0.6193 GB, free: 7.227 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1728, allocations: 85.91 MB / 0.7032 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002413/0.1752, allocations: 1.302 MB / 0.7045 GB, free: 88 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1764, allocations: 0.5993 MB / 0.7051 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.975e-05/0.1764, allocations: 4 kB / 0.7051 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.1764, allocations: 0 / 0.7051 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.043e-05/0.1765, allocations: 7.922 kB / 0.7051 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006331/0.1771, allocations: 150.5 kB / 0.7052 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.918e-05/0.1772, allocations: 15.92 kB / 0.7052 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.322e-05/0.1772, allocations: 4 kB / 0.7052 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.41e-05/0.1773, allocations: 11.94 kB / 0.7052 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.738e-05/0.1773, allocations: 11.92 kB / 0.7053 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.1773, allocations: 7.984 kB / 0.7053 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005613/0.1779, allocations: 339.3 kB / 0.7056 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.1779, allocations: 7.984 kB / 0.7056 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.1779, allocations: 3.938 kB / 0.7056 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.1782, allocations: 147.8 kB / 0.7057 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1782, allocations: 0 / 0.7057 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.194e-06/0.1782, allocations: 0 / 0.7057 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.1783, allocations: 0 / 0.7057 GB, free: 14.79 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.0004962/0.1787, allocations: 305.8 kB / 0.706 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.1788, allocations: 16.03 kB / 0.706 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.898e-05/0.1788, allocations: 8.172 kB / 0.7061 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.801e-05/0.1789, allocations: 30.75 kB / 0.7061 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.1789, allocations: 0.9375 kB / 0.7061 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.179, allocations: 110.5 kB / 0.7062 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.179, allocations: 384 / 0.7062 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.179, allocations: 11.94 kB / 0.7062 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.1791, allocations: 37.69 kB / 0.7062 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.1791, allocations: 0 / 0.7062 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.1791, allocations: 4 kB / 0.7062 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1792, allocations: 4 kB / 0.7062 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.763e-05/0.1792, allocations: 15.98 kB / 0.7063 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.1796, allocations: 224 kB / 0.7065 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.1798, allocations: 50.56 kB / 0.7065 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.43e-05/0.1799, allocations: 12.84 kB / 0.7065 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.1799, allocations: 8 kB / 0.7065 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.1799, allocations: 34.56 kB / 0.7066 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1799, allocations: 0 / 0.7066 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001803/0.1801, allocations: 49.69 kB / 0.7066 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.1801, allocations: 59.34 kB / 0.7067 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.178e-05/0.1802, allocations: 98.03 kB / 0.7068 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.1803, allocations: 29.7 kB / 0.7068 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/0.1803, allocations: 88.08 kB / 0.7069 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.1803, allocations: 15.89 kB / 0.7069 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.1804, allocations: 17.72 kB / 0.7069 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1805, allocations: 318.8 kB / 0.7072 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.989e-05/0.1806, allocations: 7.984 kB / 0.7072 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.635e-05/0.1806, allocations: 17.72 kB / 0.7072 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.553e-05/0.1807, allocations: 29.72 kB / 0.7073 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1807, allocations: 4 kB / 0.7073 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001003/0.1808, allocations: 65.52 kB / 0.7073 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1808, allocations: 7.984 kB / 0.7074 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1808, allocations: 0 / 0.7074 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1808, allocations: 0 / 0.7074 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.587e-05/0.1809, allocations: 12 kB / 0.7074 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1809, allocations: 0 / 0.7074 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.657e-05/0.1809, allocations: 4 kB / 0.7074 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.1809, allocations: 0 / 0.7074 GB, free: 12.92 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.503e-05/0.181, allocations: 117.8 kB / 0.7075 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.181, allocations: 4 kB / 0.7075 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.1811, allocations: 65.36 kB / 0.7075 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1811, allocations: 3.938 kB / 0.7075 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1812, allocations: 0 / 0.7075 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1812, allocations: 128 / 0.7075 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.1813, allocations: 144.6 kB / 0.7077 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1813, allocations: 0 / 0.7077 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.1814, allocations: 4 kB / 0.7077 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1814, allocations: 4 kB / 0.7077 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.1814, allocations: 0 / 0.7077 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1814, allocations: 3.938 kB / 0.7077 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1814, allocations: 4 kB / 0.7077 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.1815, allocations: 151.5 kB / 0.7078 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-06/0.1815, allocations: 0 / 0.7078 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.1815, allocations: 0 / 0.7078 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.792e-05/0.1816, allocations: 0 / 0.7078 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.1816, allocations: 8 kB / 0.7079 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.1816, allocations: 0 / 0.7079 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.192e-05/0.1816, allocations: 87.27 kB / 0.7079 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5e-08/0.1816, allocations: 0 / 0.7079 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002519/0.1819, allocations: 23.81 kB / 0.708 GB, free: 12.24 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.0005372/0.1824, allocations: 0.6972 MB / 0.7086 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.1825, allocations: 24.03 kB / 0.7087 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1825, allocations: 0 / 0.7087 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.636e-05/0.1826, allocations: 16.02 kB / 0.7087 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.1828, allocations: 10.45 kB / 0.7087 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004823/0.1833, allocations: 164.4 kB / 0.7088 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.1836, allocations: 0.6805 MB / 0.7095 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.282e-05/0.1836, allocations: 4.062 kB / 0.7095 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.1837, allocations: 11.44 kB / 0.7095 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/0.1837, allocations: 0 / 0.7095 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02284/0.2065, allocations: 1.537 MB / 0.711 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.58, allocations: 6.047 kB / 0.711 GB, free: 9.156 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.265370842069387] Failed to read output from testmodel.py, exit status != 0: 11.746371541987173 11.765240935 11.583149126 Calling exit ...