Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001482/0.001482, allocations: 110 kB / 18.93 MB, free: 2.945 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.001692/0.001692, allocations: 190.9 kB / 22.23 MB, free: 5.16 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.476/1.476, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180]
"[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo.
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.1/1.1, allocations: 177.9 MB / 484.2 MB, free: 5.363 MB / 382.1 MB
"
[Timeout remaining time 178]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck")
translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 63.39 kB / 0.674 GB, free: 10.8 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.6511/0.653, allocations: 95.17 MB / 0.7669 GB, free: 7.965 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002572/0.6556, allocations: 1.285 MB / 0.7682 GB, free: 7.391 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.001257/0.6568, allocations: 0.6099 MB / 0.7688 GB, free: 6.969 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.699e-05/0.6569, allocations: 1.344 kB / 0.7688 GB, free: 6.969 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 1.997e-05/0.6569, allocations: 0 / 0.7688 GB, free: 6.969 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 5.438e-05/0.657, allocations: 9 kB / 0.7688 GB, free: 6.961 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006267/0.6576, allocations: 147.4 kB / 0.7689 GB, free: 6.895 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 7.673e-05/0.6577, allocations: 23.92 kB / 0.7689 GB, free: 6.883 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.6577, allocations: 2.141 kB / 0.769 GB, free: 6.883 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.214e-05/0.6578, allocations: 7 kB / 0.769 GB, free: 6.883 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.651e-05/0.6578, allocations: 16.58 kB / 0.769 GB, free: 6.871 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.6578, allocations: 0 / 0.769 GB, free: 6.871 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000574/0.6584, allocations: 341.5 kB / 0.7693 GB, free: 6.773 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.6584, allocations: 9.297 kB / 0.7693 GB, free: 6.766 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.6585, allocations: 8.062 kB / 0.7693 GB, free: 6.762 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.6587, allocations: 146.9 kB / 0.7695 GB, free: 6.723 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.6588, allocations: 4 kB / 0.7695 GB, free: 6.719 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.533e-06/0.6588, allocations: 0 / 0.7695 GB, free: 6.719 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 5.701e-06/0.6588, allocations: 1.312 kB / 0.7695 GB, free: 6.719 MB / 0.5762 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.0004478/0.6592, allocations: 287.9 kB / 0.7697 GB, free: 6.43 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.6592, allocations: 9.062 kB / 0.7697 GB, free: 6.43 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.6593, allocations: 4.797 kB / 0.7697 GB, free: 6.43 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.61e-05/0.6594, allocations: 103.9 kB / 0.7698 GB, free: 6.305 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.6594, allocations: 1.781 kB / 0.7698 GB, free: 6.305 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.6594, allocations: 5.094 kB / 0.7699 GB, free: 6.305 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.6595, allocations: 49.41 kB / 0.7699 GB, free: 6.258 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.6595, allocations: 1.438 kB / 0.7699 GB, free: 6.258 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.6595, allocations: 0 / 0.7699 GB, free: 6.258 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.6596, allocations: 1.594 kB / 0.7699 GB, free: 6.258 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.49e-05/0.6596, allocations: 15.42 kB / 0.7699 GB, free: 6.25 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.6598, allocations: 129.9 kB / 0.77 GB, free: 6.09 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.66, allocations: 42.03 kB / 0.7701 GB, free: 6.062 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.938e-05/0.66, allocations: 20.14 kB / 0.7701 GB, free: 6.047 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.66, allocations: 7.922 kB / 0.7701 GB, free: 6.039 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.6601, allocations: 40.06 kB / 0.7701 GB, free: 5.992 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.6601, allocations: 0 / 0.7701 GB, free: 5.992 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=6): time 0.0006459/0.6607, allocations: 229.3 kB / 0.7704 GB, free: 5.805 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.6607, allocations: 56.59 kB / 0.7704 GB, free: 5.738 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.415e-05/0.6608, allocations: 97.61 kB / 0.7705 GB, free: 5.637 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.6608, allocations: 32.39 kB / 0.7705 GB, free: 5.602 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 2.187e-05/0.6608, allocations: 84.14 kB / 0.7706 GB, free: 5.516 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.6609, allocations: 21.06 kB / 0.7706 GB, free: 5.5 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.6609, allocations: 20.62 kB / 0.7707 GB, free: 5.48 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 6.939e-05/0.661, allocations: 312.5 kB / 0.771 GB, free: 5.168 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.776e-05/0.661, allocations: 15.81 kB / 0.771 GB, free: 5.16 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.554e-05/0.661, allocations: 12.78 kB / 0.771 GB, free: 5.156 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 6.4e-05/0.6611, allocations: 31.33 kB / 0.771 GB, free: 5.137 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6611, allocations: 9.094 kB / 0.771 GB, free: 5.129 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001063/0.6612, allocations: 71.39 kB / 0.7711 GB, free: 5.078 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.6612, allocations: 6.062 kB / 0.7711 GB, free: 5.078 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.6612, allocations: 1.078 kB / 0.7711 GB, free: 5.078 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.6613, allocations: 1.25 kB / 0.7711 GB, free: 5.078 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.696e-05/0.6613, allocations: 11.16 kB / 0.7711 GB, free: 5.078 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.6613, allocations: 0 / 0.7711 GB, free: 5.078 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.6613, allocations: 1.094 kB / 0.7711 GB, free: 5.078 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.6613, allocations: 1.188 kB / 0.7711 GB, free: 5.078 MB / 0.5762 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 5.591e-05/0.6614, allocations: 122.2 kB / 0.7712 GB, free: 4.953 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.6614, allocations: 6.016 kB / 0.7712 GB, free: 4.949 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.6615, allocations: 76.45 kB / 0.7713 GB, free: 4.891 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.6615, allocations: 0.75 kB / 0.7713 GB, free: 4.891 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.6615, allocations: 0.9375 kB / 0.7713 GB, free: 4.891 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.6616, allocations: 0.6562 kB / 0.7713 GB, free: 4.891 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.6618, allocations: 292.8 kB / 0.7716 GB, free: 4.594 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.6618, allocations: 1.656 kB / 0.7716 GB, free: 4.594 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.6619, allocations: 14.17 kB / 0.7716 GB, free: 4.59 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.6619, allocations: 1.781 kB / 0.7716 GB, free: 4.59 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.6619, allocations: 1.75 kB / 0.7716 GB, free: 4.59 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.6619, allocations: 0 / 0.7716 GB, free: 4.59 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6619, allocations: 1 kB / 0.7716 GB, free: 4.59 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.6621, allocations: 183.6 kB / 0.7718 GB, free: 4.426 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.162e-05/0.6621, allocations: 5.156 kB / 0.7718 GB, free: 4.426 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.6621, allocations: 6.094 kB / 0.7718 GB, free: 4.422 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.505e-05/0.6622, allocations: 5.453 kB / 0.7718 GB, free: 4.418 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.61e-05/0.6622, allocations: 4.922 kB / 0.7718 GB, free: 4.418 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.6622, allocations: 2.625 kB / 0.7718 GB, free: 4.418 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 2.366e-05/0.6622, allocations: 85.73 kB / 0.7719 GB, free: 4.34 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 6e-08/0.6622, allocations: 0 / 0.7719 GB, free: 4.34 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002613/0.6625, allocations: 27.16 kB / 0.7719 GB, free: 4.328 MB / 0.5762 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.0001872/0.6627, allocations: 117 kB / 0.772 GB, free: 4.234 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0001291/0.6628, allocations: 41.94 kB / 0.7721 GB, free: 4.215 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.6628, allocations: 1.031 kB / 0.7721 GB, free: 4.215 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 2.861e-05/0.6628, allocations: 12.11 kB / 0.7721 GB, free: 4.215 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.6631, allocations: 6.375 kB / 0.7721 GB, free: 4.211 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/0.6635, allocations: 198 kB / 0.7723 GB, free: 4.031 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.6637, allocations: 0.6837 MB / 0.7729 GB, free: 3.332 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 4.13e-05/0.6637, allocations: 3.438 kB / 0.7729 GB, free: 3.332 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.6637, allocations: 11.03 kB / 0.773 GB, free: 3.324 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.31e-07/0.6637, allocations: 4 kB / 0.773 GB, free: 3.32 MB / 0.5762 GB
Notification: Performance of Templates: time 0.004138/0.6679, allocations: 0.6884 MB / 0.7736 GB, free: 3.25 MB / 0.5762 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660]
(rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.732271585613489]
Failed to read output from testmodel.py, exit status != 0:
0.6760436398908496 0.691870292 0.029621107
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f7a5074d7b0>