Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 111.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 179] 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.8637/0.8637, allocations: 134 MB / 436.6 MB, free: 1.32 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 80.42 kB / 0.6051 GB, free: 15.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1496, allocations: 84.67 MB / 0.6878 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002429/0.152, allocations: 1.277 MB / 0.689 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1531, allocations: 0.6153 MB / 0.6896 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.1531, allocations: 0 / 0.6896 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.631e-05/0.1531, allocations: 0 / 0.6896 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.783e-05/0.1531, allocations: 7.922 kB / 0.6897 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005166/0.1537, allocations: 147.4 kB / 0.6898 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.301e-05/0.1537, allocations: 19.92 kB / 0.6898 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.1538, allocations: 0 / 0.6898 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.835e-05/0.1538, allocations: 7.938 kB / 0.6898 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.88e-05/0.1539, allocations: 15.97 kB / 0.6898 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.1539, allocations: 0 / 0.6898 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004976/0.1544, allocations: 343.3 kB / 0.6902 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.1544, allocations: 7.922 kB / 0.6902 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.005e-05/0.1544, allocations: 4 kB / 0.6902 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.1547, allocations: 143.8 kB / 0.6903 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1547, allocations: 4 kB / 0.6903 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.814e-06/0.1547, allocations: 4 kB / 0.6903 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.1547, allocations: 3.938 kB / 0.6903 GB, free: 8.512 MB / 0.5137 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.0004592/0.1551, allocations: 370.9 kB / 0.6907 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.1552, allocations: 8.031 kB / 0.6907 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.567e-05/0.1552, allocations: 34.75 kB / 0.6907 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.1552, allocations: 8.922 kB / 0.6907 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.1554, allocations: 164.4 kB / 0.6909 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-06/0.1554, allocations: 384 / 0.6909 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.1554, allocations: 8.125 kB / 0.6909 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.1555, allocations: 45.67 kB / 0.6909 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1555, allocations: 0 / 0.6909 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1555, allocations: 4 kB / 0.6909 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1555, allocations: 0 / 0.6909 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.728e-05/0.1556, allocations: 11.94 kB / 0.691 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.1558, allocations: 157.7 kB / 0.6911 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.1559, allocations: 42.61 kB / 0.6911 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.64e-05/0.156, allocations: 20.88 kB / 0.6912 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.872e-05/0.156, allocations: 4 kB / 0.6912 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.156, allocations: 34.56 kB / 0.6912 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.021e-06/0.156, allocations: 0 / 0.6912 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006077/0.1566, allocations: 310.2 kB / 0.6915 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.1567, allocations: 55.39 kB / 0.6915 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.872e-05/0.1568, allocations: 101.9 kB / 0.6916 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.1568, allocations: 29.7 kB / 0.6917 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.88e-05/0.1568, allocations: 80.14 kB / 0.6917 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.1569, allocations: 23.78 kB / 0.6918 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.1569, allocations: 21.72 kB / 0.6918 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.157, allocations: 314.8 kB / 0.6921 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.797e-05/0.1571, allocations: 11.98 kB / 0.6921 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.037e-05/0.1571, allocations: 8 kB / 0.6921 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.197e-05/0.1571, allocations: 36.86 kB / 0.6921 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1572, allocations: 3.938 kB / 0.6922 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001021/0.1573, allocations: 69.61 kB / 0.6922 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.1573, allocations: 4 kB / 0.6922 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1573, allocations: 0 / 0.6922 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.1573, allocations: 4 kB / 0.6922 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.12e-05/0.1573, allocations: 11.98 kB / 0.6922 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1574, allocations: 3.938 kB / 0.6922 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.618e-05/0.1574, allocations: 0 / 0.6922 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1574, allocations: 8 kB / 0.6922 GB, free: 6.262 MB / 0.5137 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 7.621e-05/0.1575, allocations: 113.8 kB / 0.6924 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.1575, allocations: 7.953 kB / 0.6924 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.1576, allocations: 82.16 kB / 0.6924 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.1576, allocations: 0 / 0.6924 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1576, allocations: 3.938 kB / 0.6924 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1576, allocations: 0 / 0.6924 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.158, allocations: 315.4 kB / 0.6927 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.158, allocations: 0 / 0.6927 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.182e-05/0.158, allocations: 16.02 kB / 0.6928 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.158, allocations: 3.984 kB / 0.6928 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.158, allocations: 4 kB / 0.6928 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.158, allocations: 0 / 0.6928 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.158, allocations: 0 / 0.6928 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.1582, allocations: 176.6 kB / 0.6929 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.1583, allocations: 85.05 kB / 0.693 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.1583, allocations: 8 kB / 0.693 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.079e-05/0.1584, allocations: 8 kB / 0.693 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.1584, allocations: 3.984 kB / 0.693 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.1584, allocations: 7.938 kB / 0.693 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.202e-05/0.1585, allocations: 79.28 kB / 0.6931 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1585, allocations: 0 / 0.6931 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002412/0.1587, allocations: 23.88 kB / 0.6931 GB, free: 5.219 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0005402/0.1592, allocations: 0.7367 MB / 0.6939 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.1593, allocations: 35.92 kB / 0.6939 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1593, allocations: 0 / 0.6939 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.088e-05/0.1594, allocations: 16.19 kB / 0.6939 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.1596, allocations: 8.688 kB / 0.6939 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.1609, allocations: 1.333 MB / 0.6952 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.1612, allocations: 0.6807 MB / 0.6959 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.797e-05/0.1612, allocations: 8.312 kB / 0.6959 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.1613, allocations: 15.42 kB / 0.6959 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.1613, allocations: 96 / 0.6959 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.1845, allocations: 1.609 MB / 0.6975 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/7.831, allocations: 6.812 kB / 0.6975 GB, free: 0.8164 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.161076379008591] Failed to read output from testmodel.py, exit status != 0: 7.895063694100827 7.909209111 7.751749769 Calling exit ...