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.001323/0.001323, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001378/0.001378, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 18.57 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 0.9193/0.9193, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 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.002445/0.002445, allocations: 237.4 kB / 260.2 MB, free: 12.81 MB / 250.7 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 0.7042/0.7042, allocations: 138.4 MB / 455.2 MB, free: 1.523 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.5551 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.848e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001981/0.00201, allocations: 1.532 MB / 0.5566 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007781/0.002788, allocations: 0.6032 MB / 0.5572 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.002817, allocations: 0 / 0.5572 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.04e-05/0.002847, allocations: 3.938 kB / 0.5572 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.772e-05/0.002895, allocations: 7.922 kB / 0.5572 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004921/0.003387, allocations: 167.2 kB / 0.5574 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.075e-05/0.003458, allocations: 47.84 kB / 0.5574 GB, free: 14.15 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.525e-05/0.003493, allocations: 7.984 kB / 0.5574 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.64e-05/0.00356, allocations: 31.91 kB / 0.5574 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.199e-05/0.003592, allocations: 19.97 kB / 0.5575 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.003606, allocations: 4 kB / 0.5575 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002811/0.003888, allocations: 271.4 kB / 0.5577 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.003909, allocations: 15.97 kB / 0.5577 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.003936, allocations: 23.91 kB / 0.5578 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.004217, allocations: 183.4 kB / 0.5579 GB, free: 13.61 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.004219, allocations: 0 / 0.5579 GB, free: 13.61 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.00422, allocations: 0 / 0.5579 GB, free: 13.61 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.004225, allocations: 0 / 0.5579 GB, free: 13.61 MB / 490.7 MB 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.0004546/0.00468, allocations: 428 kB / 0.5583 GB, free: 13.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.004715, allocations: 12.75 kB / 0.5584 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.00476, allocations: 4.938 kB / 0.5584 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.767e-05/0.004847, allocations: 124.4 kB / 0.5585 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.004871, allocations: 8.375 kB / 0.5585 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.004894, allocations: 8.375 kB / 0.5585 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.005078, allocations: 134.3 kB / 0.5586 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.005088, allocations: 192 / 0.5586 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.005099, allocations: 4.375 kB / 0.5586 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.005108, allocations: 384 / 0.5586 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.733e-05/0.005156, allocations: 27.92 kB / 0.5587 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.005519, allocations: 307.6 kB / 0.559 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.005638, allocations: 67.03 kB / 0.559 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.519e-05/0.005663, allocations: 23.62 kB / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.005679, allocations: 8 kB / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.005703, allocations: 41.31 kB / 0.5591 GB, free: 12.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.005704, allocations: 0 / 0.5591 GB, free: 12.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.000747/0.006451, allocations: 460.7 kB / 0.5595 GB, free: 11.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.006477, allocations: 55.41 kB / 0.5596 GB, free: 11.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.431e-05/0.006541, allocations: 161.9 kB / 0.5597 GB, free: 11.53 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.006552, allocations: 25.7 kB / 0.5598 GB, free: 11.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.175e-05/0.006594, allocations: 146.8 kB / 0.5599 GB, free: 11.35 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.006622, allocations: 43.78 kB / 0.5599 GB, free: 11.31 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.006657, allocations: 35.36 kB / 0.56 GB, free: 11.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.706e-05/0.006754, allocations: 496.1 kB / 0.5604 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.977e-05/0.006783, allocations: 19.98 kB / 0.5605 GB, free: 10.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.678e-05/0.00681, allocations: 23.98 kB / 0.5605 GB, free: 10.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.9e-05/0.006869, allocations: 46.88 kB / 0.5605 GB, free: 10.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.00687, allocations: 0 / 0.5605 GB, free: 10.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001008/0.006971, allocations: 97.67 kB / 0.5606 GB, free: 10.58 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.006983, allocations: 4 kB / 0.5606 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.006987, allocations: 0 / 0.5606 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.006999, allocations: 4 kB / 0.5606 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.035e-05/0.00709, allocations: 27.92 kB / 0.5607 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.007096, allocations: 4 kB / 0.5607 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.164e-05/0.007117, allocations: 3.938 kB / 0.5607 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.007125, allocations: 8 kB / 0.5607 GB, free: 10.53 MB / 490.7 MB 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 6.307e-05/0.007188, allocations: 164.5 kB / 0.5608 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.007209, allocations: 11.95 kB / 0.5608 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.007337, allocations: 93.78 kB / 0.5609 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.007339, allocations: 4 kB / 0.5609 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.007343, allocations: 4 kB / 0.5609 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.007345, allocations: 0 / 0.5609 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.007592, allocations: 361.4 kB / 0.5613 GB, free: 9.848 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.007594, allocations: 0 / 0.5613 GB, free: 9.848 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.495e-05/0.007669, allocations: 23.98 kB / 0.5613 GB, free: 9.824 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.007672, allocations: 0 / 0.5613 GB, free: 9.824 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.007681, allocations: 7.984 kB / 0.5613 GB, free: 9.816 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.007683, allocations: 0 / 0.5613 GB, free: 9.816 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.007684, allocations: 4 kB / 0.5613 GB, free: 9.812 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.007856, allocations: 259.7 kB / 0.5616 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-06/0.007863, allocations: 11.94 kB / 0.5616 GB, free: 9.527 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.007874, allocations: 4.031 kB / 0.5616 GB, free: 9.523 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.117e-05/0.007925, allocations: 8 kB / 0.5616 GB, free: 9.516 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.83e-05/0.007943, allocations: 7.984 kB / 0.5616 GB, free: 9.508 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.00795, allocations: 4 kB / 0.5616 GB, free: 9.504 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.934e-05/0.007979, allocations: 123.2 kB / 0.5617 GB, free: 9.383 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007979, allocations: 0 / 0.5617 GB, free: 9.383 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000174/0.008153, allocations: 43.8 kB / 0.5618 GB, free: 9.34 MB / 490.7 MB 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.0001531/0.008306, allocations: 143 kB / 0.5619 GB, free: 9.191 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.008425, allocations: 59.66 kB / 0.562 GB, free: 9.129 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.008426, allocations: 4 kB / 0.562 GB, free: 9.125 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.627e-05/0.008462, allocations: 47.53 kB / 0.562 GB, free: 9.074 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.008637, allocations: 8 kB / 0.562 GB, free: 9.066 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005547/0.009192, allocations: 270.7 kB / 0.5623 GB, free: 8.766 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.434e-05/0.009226, allocations: 59.34 kB / 0.5623 GB, free: 8.688 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.05e-05/0.009266, allocations: 16.77 kB / 0.5623 GB, free: 8.672 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.009294, allocations: 20.5 kB / 0.5624 GB, free: 8.652 MB / 490.7 MB Notification: Performance of SimCode: time 6.21e-07/0.009295, allocations: 0 / 0.5624 GB, free: 8.652 MB / 490.7 MB Notification: Performance of Templates: time 0.002954/0.01225, allocations: 1.279 MB / 0.5636 GB, free: 7.438 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5929591371677816]