Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.0009947/0.0009947, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001467/0.001467, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.944/0.944, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.001656/0.001656, allocations: 241.9 kB / 261.3 MB, free: 12.66 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.7371/0.7371, allocations: 138.4 MB / 456.3 MB, free: 29.57 MB / 410.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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.5563 GB, free: 15.75 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.08e-05, allocations: 2.312 kB / 0.5563 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001802/0.001823, allocations: 1.333 MB / 0.5576 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007067/0.00253, allocations: 0.5721 MB / 0.5582 GB, free: 13.83 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.41e-05/0.002554, allocations: 4 kB / 0.5582 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.002573, allocations: 3.938 kB / 0.5582 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.932e-05/0.002612, allocations: 4 kB / 0.5582 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.003004, allocations: 159.2 kB / 0.5584 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.242e-05/0.003056, allocations: 35.84 kB / 0.5584 GB, free: 13.62 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.003094, allocations: 0 / 0.5584 GB, free: 13.62 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.178e-05/0.003125, allocations: 15.98 kB / 0.5584 GB, free: 13.61 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.844e-05/0.003174, allocations: 7.984 kB / 0.5584 GB, free: 13.6 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.003186, allocations: 8 kB / 0.5584 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002687/0.003455, allocations: 271.4 kB / 0.5587 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.003469, allocations: 11.92 kB / 0.5587 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.949e-05/0.003489, allocations: 8 kB / 0.5587 GB, free: 13.31 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.003673, allocations: 163.4 kB / 0.5589 GB, free: 13.15 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003675, allocations: 0 / 0.5589 GB, free: 13.15 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.003675, allocations: 0 / 0.5589 GB, free: 13.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.003679, allocations: 0 / 0.5589 GB, free: 13.15 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003996/0.004078, allocations: 400.2 kB / 0.5592 GB, free: 12.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.004109, allocations: 13.94 kB / 0.5593 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.004136, allocations: 8.938 kB / 0.5593 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.666e-05/0.004203, allocations: 112.5 kB / 0.5594 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.004213, allocations: 4.375 kB / 0.5594 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.004231, allocations: 8.375 kB / 0.5594 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.98e-05/0.004311, allocations: 93.59 kB / 0.5595 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.004318, allocations: 4.172 kB / 0.5595 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.004325, allocations: 4.375 kB / 0.5595 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.00433, allocations: 384 / 0.5595 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.27e-05/0.004353, allocations: 15.92 kB / 0.5595 GB, free: 12.42 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001095/0.004462, allocations: 113.3 kB / 0.5596 GB, free: 12.28 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.017e-05/0.004532, allocations: 55.05 kB / 0.5597 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.1e-05/0.004553, allocations: 23.67 kB / 0.5597 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.004566, allocations: 160 / 0.5597 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.004584, allocations: 49.31 kB / 0.5597 GB, free: 12.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 7.12e-07/0.004585, allocations: 0 / 0.5597 GB, free: 12.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.000624/0.005209, allocations: 423.8 kB / 0.5601 GB, free: 11.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.005233, allocations: 59.34 kB / 0.5602 GB, free: 11.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.618e-05/0.005289, allocations: 161.9 kB / 0.5603 GB, free: 11.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.0053, allocations: 29.7 kB / 0.5604 GB, free: 11.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.968e-05/0.005329, allocations: 130.7 kB / 0.5605 GB, free: 11.24 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.005366, allocations: 43.62 kB / 0.5605 GB, free: 11.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.005403, allocations: 27.38 kB / 0.5606 GB, free: 11.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.005505, allocations: 0.4923 MB / 0.561 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/0.005521, allocations: 11.98 kB / 0.5611 GB, free: 10.65 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.561e-05/0.005536, allocations: 11.94 kB / 0.5611 GB, free: 10.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.902e-05/0.005585, allocations: 51.59 kB / 0.5611 GB, free: 10.58 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.005586, allocations: 0 / 0.5611 GB, free: 10.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.398e-05/0.00567, allocations: 88.77 kB / 0.5612 GB, free: 10.49 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.00568, allocations: 8 kB / 0.5612 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.005685, allocations: 0 / 0.5612 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.62e-06/0.00569, allocations: 0 / 0.5612 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.079e-05/0.005751, allocations: 23.92 kB / 0.5612 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.005757, allocations: 7.938 kB / 0.5612 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.404e-05/0.005771, allocations: 4 kB / 0.5612 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.005775, allocations: 0 / 0.5612 GB, free: 10.45 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 5.859e-05/0.005834, allocations: 160.6 kB / 0.5614 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-06/0.005844, allocations: 4 kB / 0.5614 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.005944, allocations: 89.78 kB / 0.5615 GB, free: 10.19 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.005946, allocations: 7.938 kB / 0.5615 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.005948, allocations: 3.938 kB / 0.5615 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.005951, allocations: 0 / 0.5615 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.006169, allocations: 322 kB / 0.5618 GB, free: 9.828 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.00617, allocations: 0 / 0.5618 GB, free: 9.828 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.06e-05/0.006231, allocations: 20 kB / 0.5618 GB, free: 9.809 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.006233, allocations: 0 / 0.5618 GB, free: 9.809 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.006241, allocations: 8 kB / 0.5618 GB, free: 9.801 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.006244, allocations: 7.875 kB / 0.5618 GB, free: 9.793 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.006247, allocations: 7.969 kB / 0.5619 GB, free: 9.785 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.006394, allocations: 243.8 kB / 0.5621 GB, free: 9.527 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-06/0.0064, allocations: 3.953 kB / 0.5621 GB, free: 9.523 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.00641, allocations: 8 kB / 0.5621 GB, free: 9.516 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.157e-05/0.006452, allocations: 7.922 kB / 0.5621 GB, free: 9.508 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.006466, allocations: 7.984 kB / 0.5621 GB, free: 9.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.006473, allocations: 4 kB / 0.5621 GB, free: 9.496 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.75e-05/0.0065, allocations: 123.2 kB / 0.5622 GB, free: 9.375 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0065, allocations: 0 / 0.5622 GB, free: 9.375 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001822/0.006682, allocations: 35.86 kB / 0.5623 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 (m_flow_comp,der_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 (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.0001344/0.006817, allocations: 135.2 kB / 0.5624 GB, free: 9.199 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.014e-05/0.006897, allocations: 56.23 kB / 0.5624 GB, free: 9.141 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.006898, allocations: 4 kB / 0.5625 GB, free: 9.137 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002541/0.007152, allocations: 36.05 kB / 0.5625 GB, free: 9.098 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.007304, allocations: 7.984 kB / 0.5625 GB, free: 9.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004206/0.007725, allocations: 242 kB / 0.5627 GB, free: 8.824 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.717e-05/0.007762, allocations: 63.36 kB / 0.5628 GB, free: 8.742 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.997e-05/0.007792, allocations: 12.02 kB / 0.5628 GB, free: 8.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/0.007844, allocations: 86.2 kB / 0.5629 GB, free: 8.645 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.007844, allocations: 0 / 0.5629 GB, free: 8.645 MB / 490.7 MB Notification: Performance of Templates: time 0.00236/0.0102, allocations: 1.088 MB / 0.5639 GB, free: 7.602 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.640806615818292]