Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001448/0.001448, allocations: 78.58 kB / 19.01 MB, free: 2.859 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.001499/0.001499, allocations: 158.4 kB / 22.26 MB, free: 5.105 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.402/1.402, allocations: 177.2 MB / 202.6 MB, free: 9.273 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002479/0.002479, allocations: 242.2 kB / 259.3 MB, free: 0.5938 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.051/1.051, allocations: 138.5 MB / 454.2 MB, free: 2.059 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003317/0.003317, allocations: 99.84 kB / 0.6466 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4232, allocations: 95.35 MB / 0.7397 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002805/0.426, allocations: 1.483 MB / 0.7412 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.4272, allocations: 0.5683 MB / 0.7417 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.984e-05/0.4272, allocations: 4 kB / 0.7417 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.406e-05/0.4272, allocations: 3.938 kB / 0.7417 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.571e-05/0.4273, allocations: 7.922 kB / 0.7417 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005851/0.4279, allocations: 159.4 kB / 0.7419 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.415e-05/0.428, allocations: 55.78 kB / 0.7419 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.802e-05/0.428, allocations: 0 / 0.7419 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.484e-05/0.4281, allocations: 43.89 kB / 0.742 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.289e-05/0.4281, allocations: 19.92 kB / 0.742 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.4282, allocations: 4 kB / 0.742 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004129/0.4286, allocations: 271.5 kB / 0.7423 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.121e-05/0.4286, allocations: 7.938 kB / 0.7423 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.53e-05/0.4286, allocations: 27.91 kB / 0.7423 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.4289, allocations: 168.5 kB / 0.7425 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4289, allocations: 0 / 0.7425 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4289, allocations: 4 kB / 0.7425 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.4289, allocations: 0 / 0.7425 GB, free: 12.4 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005827/0.4295, allocations: 325.8 kB / 0.7428 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.4295, allocations: 9.344 kB / 0.7428 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.4296, allocations: 12.83 kB / 0.7428 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.4297, allocations: 118.4 kB / 0.7429 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.4297, allocations: 8.375 kB / 0.7429 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.4297, allocations: 12.31 kB / 0.7429 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.43, allocations: 128.4 kB / 0.743 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.43, allocations: 4.188 kB / 0.743 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.43, allocations: 7.938 kB / 0.7431 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.43, allocations: 7.984 kB / 0.7431 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.4303, allocations: 43.97 kB / 0.7431 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004975/0.4308, allocations: 256.4 kB / 0.7433 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.4311, allocations: 78.53 kB / 0.7434 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.4312, allocations: 36.83 kB / 0.7435 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.4312, allocations: 0 / 0.7435 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.4312, allocations: 30.56 kB / 0.7435 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.4312, allocations: 0 / 0.7435 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001542/0.4328, allocations: 0.5104 MB / 0.744 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.4328, allocations: 55.41 kB / 0.744 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.631e-05/0.4329, allocations: 93.86 kB / 0.7441 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.4329, allocations: 29.7 kB / 0.7442 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.433, allocations: 92.06 kB / 0.7442 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.433, allocations: 47.62 kB / 0.7443 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.4331, allocations: 25.72 kB / 0.7443 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4332, allocations: 322.8 kB / 0.7446 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.4333, allocations: 31.98 kB / 0.7447 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.4335, allocations: 35.97 kB / 0.7447 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.4337, allocations: 68.83 kB / 0.7448 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4337, allocations: 0 / 0.7448 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003178/0.434, allocations: 122.5 kB / 0.7449 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.434, allocations: 10.5 kB / 0.7449 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.4341, allocations: 0.7812 kB / 0.7449 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.4341, allocations: 4 kB / 0.7449 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.4342, allocations: 23.98 kB / 0.7449 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-06/0.4342, allocations: 0 / 0.7449 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.316e-05/0.4343, allocations: 11.98 kB / 0.7449 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.4343, allocations: 11.88 kB / 0.7449 GB, free: 9.637 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 (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 9.318e-05/0.4344, allocations: 117.8 kB / 0.745 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.4344, allocations: 4 kB / 0.745 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000376/0.4348, allocations: 129.7 kB / 0.7452 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4348, allocations: 4.188 kB / 0.7452 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.4348, allocations: 0 / 0.7452 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4348, allocations: 7.984 kB / 0.7452 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/0.4354, allocations: 326 kB / 0.7455 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4354, allocations: 0 / 0.7455 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.4355, allocations: 23.98 kB / 0.7455 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4355, allocations: 0 / 0.7455 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.4355, allocations: 0 / 0.7455 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4355, allocations: 0 / 0.7455 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4355, allocations: 7.938 kB / 0.7455 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005109/0.436, allocations: 259.3 kB / 0.7458 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.436, allocations: 8.016 kB / 0.7458 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.4361, allocations: 4 kB / 0.7458 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.4362, allocations: 4 kB / 0.7458 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.4362, allocations: 11.92 kB / 0.7458 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.4362, allocations: 0 / 0.7458 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.652e-05/0.4363, allocations: 87.27 kB / 0.7459 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4363, allocations: 0 / 0.7459 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002945/0.4366, allocations: 43.94 kB / 0.7459 GB, free: 8.547 MB / 0.5762 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.0002257/0.4368, allocations: 135 kB / 0.746 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003523/0.4371, allocations: 80.39 kB / 0.7461 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4371, allocations: 0 / 0.7461 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.4373, allocations: 43.91 kB / 0.7462 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.4376, allocations: 8 kB / 0.7462 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007013/0.4383, allocations: 318 kB / 0.7465 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.577e-05/0.4384, allocations: 83.25 kB / 0.7466 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.357e-05/0.4384, allocations: 8.734 kB / 0.7466 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.626e-05/0.4385, allocations: 28.42 kB / 0.7466 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.4385, allocations: 4 kB / 0.7466 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of Templates: time 0.00415/0.4426, allocations: 1.127 MB / 0.7477 GB, free: 6.727 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.843691390007734] Failed to read output from testmodel.py, exit status != 0: 0.4511260148137808 0.46487484900000003 0.032953679 Calling exit ...