Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.001296/0.001296, 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.001547/0.001547, allocations: 214.2 kB / 22.25 MB, free: 4.848 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.394/1.394, allocations: 230.6 MB / 256 MB, free: 7.781 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.816/0.816, allocations: 134 MB / 446.4 MB, free: 9.945 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_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",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.001967/0.001967, allocations: 67.41 kB / 0.6185 GB, free: 6.879 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1785, allocations: 85.92 MB / 0.7024 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002615/0.1811, allocations: 1.291 MB / 0.7036 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1823, allocations: 0.5448 MB / 0.7042 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.1823, allocations: 0 / 0.7042 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.1823, allocations: 0 / 0.7042 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.881e-05/0.1823, allocations: 7.922 kB / 0.7042 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005797/0.1829, allocations: 151.4 kB / 0.7043 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.265e-05/0.183, allocations: 19.94 kB / 0.7043 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.577e-05/0.183, allocations: 7.984 kB / 0.7044 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.947e-05/0.1831, allocations: 7.938 kB / 0.7044 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.952e-05/0.1831, allocations: 4 kB / 0.7044 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.1831, allocations: 7.984 kB / 0.7044 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004286/0.1836, allocations: 267.5 kB / 0.7046 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.1836, allocations: 0 / 0.7046 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.226e-05/0.1836, allocations: 15.86 kB / 0.7046 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.1839, allocations: 139.8 kB / 0.7048 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1839, allocations: 0 / 0.7048 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1839, allocations: 4 kB / 0.7048 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.1839, allocations: 0 / 0.7048 GB, free: 14.59 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004113/0.1843, allocations: 289.9 kB / 0.7051 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1843, allocations: 12.03 kB / 0.7051 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.768e-05/0.1844, allocations: 34.75 kB / 0.7051 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.1844, allocations: 0.9375 kB / 0.7051 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.1845, allocations: 118.4 kB / 0.7052 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1845, allocations: 4.359 kB / 0.7052 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.1846, allocations: 8.125 kB / 0.7052 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.1847, allocations: 59.41 kB / 0.7053 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1847, allocations: 7.984 kB / 0.7053 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1847, allocations: 0 / 0.7053 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1847, allocations: 4 kB / 0.7053 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.566e-05/0.1848, allocations: 8 kB / 0.7053 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.1849, allocations: 128.8 kB / 0.7054 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.1851, allocations: 50.44 kB / 0.7055 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.431e-05/0.1852, allocations: 12.8 kB / 0.7055 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.1852, allocations: 8 kB / 0.7055 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.1852, allocations: 30.56 kB / 0.7055 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1852, allocations: 0 / 0.7055 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0006284/0.1859, allocations: 237.2 kB / 0.7057 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.1859, allocations: 51.41 kB / 0.7058 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.018e-05/0.186, allocations: 101.8 kB / 0.7059 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.186, allocations: 25.7 kB / 0.7059 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.186, allocations: 80.14 kB / 0.706 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.1861, allocations: 23.84 kB / 0.706 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/0.1861, allocations: 17.72 kB / 0.706 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1863, allocations: 322.8 kB / 0.7063 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.016e-05/0.1863, allocations: 8 kB / 0.7063 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.455e-05/0.1863, allocations: 12 kB / 0.7064 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.509e-05/0.1864, allocations: 40.84 kB / 0.7064 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1864, allocations: 3.938 kB / 0.7064 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001017/0.1865, allocations: 66.31 kB / 0.7065 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1865, allocations: 4 kB / 0.7065 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1865, allocations: 3.984 kB / 0.7065 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1865, allocations: 0 / 0.7065 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.262e-05/0.1866, allocations: 15.94 kB / 0.7065 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1866, allocations: 3.938 kB / 0.7065 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.676e-05/0.1866, allocations: 0 / 0.7065 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.1866, allocations: 0 / 0.7065 GB, free: 12.61 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 (7): * Single equations (assignments): 7 * 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 9.754e-05/0.1867, allocations: 121.8 kB / 0.7066 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.1867, allocations: 4 kB / 0.7066 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.1869, allocations: 73.72 kB / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1869, allocations: 0 / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1869, allocations: 0 / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1869, allocations: 0 / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003555/0.1872, allocations: 294.4 kB / 0.707 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1872, allocations: 0 / 0.707 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.971e-05/0.1873, allocations: 11.94 kB / 0.707 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1873, allocations: 0 / 0.707 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.1873, allocations: 4 kB / 0.707 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1873, allocations: 7.969 kB / 0.707 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1873, allocations: 0 / 0.707 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.1875, allocations: 188.5 kB / 0.7072 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.364e-05/0.1875, allocations: 8.016 kB / 0.7072 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.1876, allocations: 0 / 0.7072 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.802e-05/0.1876, allocations: 4 kB / 0.7072 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.1876, allocations: 4 kB / 0.7072 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.1877, allocations: 3.938 kB / 0.7072 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.914e-05/0.1877, allocations: 83.27 kB / 0.7073 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1877, allocations: 0 / 0.7073 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002421/0.1879, allocations: 35.88 kB / 0.7073 GB, free: 11.69 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0005442/0.1885, allocations: 0.7211 MB / 0.708 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.1886, allocations: 35.92 kB / 0.708 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1886, allocations: 0 / 0.708 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.063e-05/0.1886, allocations: 16 kB / 0.7081 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.1889, allocations: 10.12 kB / 0.7081 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.1902, allocations: 1.323 MB / 0.7094 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.183e-05/0.1903, allocations: 71.2 kB / 0.7094 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.791e-05/0.1903, allocations: 0 / 0.7094 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.1904, allocations: 15.5 kB / 0.7094 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1904, allocations: 0 / 0.7094 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.2196, allocations: 2.114 MB / 0.7115 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.12, allocations: 9.891 kB / 0.7115 GB, free: 7.426 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.551060310099274] Failed to read output from testmodel.py, exit status != 0: 11.227252659853548 11.252886694 11.064442095 Calling exit ...