Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.001268/0.001268, allocations: 116 kB / 19.73 MB, free: 2.094 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.001412/0.001412, allocations: 210.4 kB / 23.04 MB, free: 4.438 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.8604/0.8604, allocations: 134 MB / 447.2 MB, free: 10.16 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.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",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.001993/0.001993, allocations: 66.72 kB / 0.6193 GB, free: 7.176 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1689, allocations: 85.91 MB / 0.7032 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002851/0.1717, allocations: 1.495 MB / 0.7047 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.173, allocations: 0.6422 MB / 0.7053 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.074e-05/0.173, allocations: 0 / 0.7053 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.55e-05/0.1731, allocations: 7.938 kB / 0.7053 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.706e-05/0.1731, allocations: 3.938 kB / 0.7053 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000924/0.1741, allocations: 162.5 kB / 0.7055 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.1742, allocations: 55.59 kB / 0.7055 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.643e-05/0.1743, allocations: 3.938 kB / 0.7055 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.1744, allocations: 23.97 kB / 0.7055 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.1745, allocations: 27.86 kB / 0.7056 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.1745, allocations: 8 kB / 0.7056 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006752/0.1752, allocations: 347.3 kB / 0.7059 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.1752, allocations: 12 kB / 0.7059 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/0.1752, allocations: 23.86 kB / 0.7059 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004101/0.1756, allocations: 181.8 kB / 0.7061 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1757, allocations: 0 / 0.7061 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1757, allocations: 0 / 0.7061 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.1757, allocations: 0 / 0.7061 GB, free: 14.36 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007035/0.1764, allocations: 333.8 kB / 0.7064 GB, free: 14 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1764, allocations: 8.031 kB / 0.7064 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.938e-05/0.1764, allocations: 8.125 kB / 0.7065 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.1765, allocations: 38.73 kB / 0.7065 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.1765, allocations: 8.922 kB / 0.7065 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.1766, allocations: 122.4 kB / 0.7066 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.1767, allocations: 4.375 kB / 0.7066 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.1767, allocations: 11.94 kB / 0.7066 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.1769, allocations: 81.66 kB / 0.7067 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1769, allocations: 0 / 0.7067 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.177, allocations: 4 kB / 0.7067 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.177, allocations: 4 kB / 0.7067 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.1772, allocations: 47.95 kB / 0.7068 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005684/0.1778, allocations: 287.8 kB / 0.707 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.1781, allocations: 78.53 kB / 0.7071 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.1782, allocations: 28.84 kB / 0.7071 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.1782, allocations: 0 / 0.7071 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.1783, allocations: 38.5 kB / 0.7072 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.1783, allocations: 0 / 0.7072 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001655/0.1799, allocations: 0.5074 MB / 0.7077 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.18, allocations: 55.41 kB / 0.7077 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.317e-05/0.1801, allocations: 101.8 kB / 0.7078 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.1801, allocations: 33.7 kB / 0.7079 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.1801, allocations: 88.03 kB / 0.7079 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.438e-05/0.1802, allocations: 43.62 kB / 0.708 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/0.1802, allocations: 29.7 kB / 0.708 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1804, allocations: 318.8 kB / 0.7083 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.1805, allocations: 31.97 kB / 0.7083 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.1807, allocations: 31.98 kB / 0.7084 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.1809, allocations: 72.83 kB / 0.7084 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1809, allocations: 0 / 0.7084 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003382/0.1813, allocations: 123.3 kB / 0.7086 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.1813, allocations: 8 kB / 0.7086 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.1813, allocations: 3.938 kB / 0.7086 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1813, allocations: 0 / 0.7086 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.1815, allocations: 27.98 kB / 0.7086 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1815, allocations: 0 / 0.7086 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.806e-05/0.1816, allocations: 7.938 kB / 0.7086 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.1816, allocations: 12.17 kB / 0.7086 GB, free: 11.55 MB / 0.5294 GB 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 (13): * Single equations (assignments): 13 * 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 0.0001076/0.1817, allocations: 117.8 kB / 0.7087 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.1817, allocations: 3.953 kB / 0.7087 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000493/0.1822, allocations: 133.6 kB / 0.7089 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1822, allocations: 0 / 0.7089 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1822, allocations: 0 / 0.7089 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.1822, allocations: 3.984 kB / 0.7089 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006852/0.1829, allocations: 357.1 kB / 0.7092 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1829, allocations: 0 / 0.7092 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.1831, allocations: 23.98 kB / 0.7092 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1831, allocations: 0 / 0.7092 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.1831, allocations: 15.98 kB / 0.7092 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1831, allocations: 96 / 0.7092 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1831, allocations: 3.938 kB / 0.7092 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005816/0.1837, allocations: 255.2 kB / 0.7095 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.1837, allocations: 7.984 kB / 0.7095 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.1837, allocations: 0 / 0.7095 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.1839, allocations: 12.06 kB / 0.7095 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.1839, allocations: 11.98 kB / 0.7095 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.1839, allocations: 7.984 kB / 0.7095 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.906e-05/0.1839, allocations: 75.28 kB / 0.7096 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1839, allocations: 4 kB / 0.7096 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003143/0.1843, allocations: 35.88 kB / 0.7096 GB, free: 10.43 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * 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 (11): * Single equations (assignments): 11 * 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.001105/0.1854, allocations: 0.8215 MB / 0.7104 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003539/0.1857, allocations: 71.95 kB / 0.7105 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.1857, allocations: 4 kB / 0.7105 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.1859, allocations: 43.91 kB / 0.7106 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.1862, allocations: 12.06 kB / 0.7106 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.1887, allocations: 1.605 MB / 0.7121 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.189, allocations: 0.7 MB / 0.7128 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.655e-05/0.1891, allocations: 12.66 kB / 0.7128 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.201e-05/0.1892, allocations: 19.44 kB / 0.7128 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of SimCode: time 6.92e-07/0.1892, allocations: 0 / 0.7128 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.2152, allocations: 2.51 MB / 0.7153 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.71, allocations: 0 / 0.7153 GB, free: 4.691 MB / 0.5294 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.32154581102077] Failed to read output from testmodel.py, exit status != 0: 11.870369375916198 11.887241811 11.708121363 Calling exit ...