Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.001585/0.001585, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.001444/0.001444, allocations: 166 kB / 22.46 MB, free: 5.375 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.461/1.461, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.002415/0.002415, allocations: 237.7 kB / 259.4 MB, free: 476 kB / 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.087/1.087, allocations: 138.4 MB / 454.3 MB, free: 1.996 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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.6468 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.644e-05, allocations: 5.797 kB / 0.6468 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002206/0.002232, allocations: 1.29 MB / 0.6481 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.003261, allocations: 0.5538 MB / 0.6486 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.204e-05/0.003283, allocations: 0 / 0.6486 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.0033, allocations: 3.938 kB / 0.6486 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.375e-05/0.003344, allocations: 0 / 0.6486 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005472/0.003891, allocations: 154.3 kB / 0.6487 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.101e-05/0.003952, allocations: 27.86 kB / 0.6488 GB, free: 3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.076e-05/0.003983, allocations: 0 / 0.6488 GB, free: 3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.238e-05/0.004035, allocations: 11.98 kB / 0.6488 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.935e-05/0.004075, allocations: 4 kB / 0.6488 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.004088, allocations: 0 / 0.6488 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000447/0.004535, allocations: 275.4 kB / 0.649 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.004546, allocations: 0 / 0.649 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.004567, allocations: 8 kB / 0.6491 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.004845, allocations: 155.5 kB / 0.6492 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004847, allocations: 0 / 0.6492 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.11e-07/0.004848, allocations: 4 kB / 0.6492 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.004851, allocations: 0 / 0.6492 GB, free: 2.551 MB / 0.5606 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.0004181/0.005269, allocations: 289.9 kB / 0.6495 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.005308, allocations: 13.34 kB / 0.6495 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.005336, allocations: 0.9375 kB / 0.6495 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.558e-05/0.005432, allocations: 109.7 kB / 0.6496 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.005444, allocations: 4.375 kB / 0.6496 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.005461, allocations: 384 / 0.6496 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.005593, allocations: 67.95 kB / 0.6497 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.0056, allocations: 192 / 0.6497 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.005609, allocations: 384 / 0.6497 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.005616, allocations: 4.375 kB / 0.6497 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.879e-05/0.005665, allocations: 19.86 kB / 0.6497 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.005803, allocations: 101.3 kB / 0.6498 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.005984, allocations: 42.61 kB / 0.6498 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.605e-05/0.00603, allocations: 24.92 kB / 0.6499 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.006048, allocations: 0 / 0.6499 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.006073, allocations: 34.56 kB / 0.6499 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.006074, allocations: 3.938 kB / 0.6499 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0005776/0.006652, allocations: 233.1 kB / 0.6501 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.006693, allocations: 67.33 kB / 0.6502 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.817e-05/0.006771, allocations: 93.86 kB / 0.6503 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.006792, allocations: 29.7 kB / 0.6503 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.006831, allocations: 80.14 kB / 0.6504 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.006865, allocations: 27.78 kB / 0.6504 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.006902, allocations: 17.72 kB / 0.6504 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.007049, allocations: 310.8 kB / 0.6507 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.977e-05/0.007079, allocations: 15.98 kB / 0.6507 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.387e-05/0.007103, allocations: 12 kB / 0.6507 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.085e-05/0.007164, allocations: 28.86 kB / 0.6508 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.007165, allocations: 0 / 0.6508 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001081/0.007273, allocations: 73.61 kB / 0.6508 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.007287, allocations: 8 kB / 0.6508 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.00729, allocations: 0 / 0.6508 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.007302, allocations: 0 / 0.6508 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.425e-05/0.007356, allocations: 11.98 kB / 0.6509 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.007367, allocations: 7.938 kB / 0.6509 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.007384, allocations: 0 / 0.6509 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.007389, allocations: 0 / 0.6509 GB, free: 0.6445 MB / 0.5606 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 8.924e-05/0.007478, allocations: 113.8 kB / 0.651 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.007492, allocations: 3.953 kB / 0.651 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.007647, allocations: 93.67 kB / 0.6511 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.007648, allocations: 0 / 0.6511 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.007654, allocations: 3.938 kB / 0.6511 GB, free: 424 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.007656, allocations: 0 / 0.6511 GB, free: 424 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003133/0.00797, allocations: 255.1 kB / 0.6513 GB, free: 128 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.007971, allocations: 0 / 0.6513 GB, free: 128 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.752e-05/0.008039, allocations: 15.98 kB / 0.6513 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.008041, allocations: 0 / 0.6513 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.008051, allocations: 3.938 kB / 0.6513 GB, free: 108 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.008052, allocations: 240 / 0.6513 GB, free: 108 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.008053, allocations: 4 kB / 0.6513 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2327/0.2408, allocations: 170.8 kB / 0.6515 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.2408, allocations: 11.2 kB / 0.6515 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.2408, allocations: 5.766 kB / 0.6515 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.2409, allocations: 3.281 kB / 0.6515 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.241, allocations: 5.25 kB / 0.6515 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.241, allocations: 5.844 kB / 0.6515 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.627e-05/0.241, allocations: 81.83 kB / 0.6516 GB, free: 56.58 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.241, allocations: 0 / 0.6516 GB, free: 56.58 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003295/0.2413, allocations: 25.52 kB / 0.6516 GB, free: 56.58 MB / 0.5606 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.0001839/0.2415, allocations: 119 kB / 0.6517 GB, free: 56.49 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001062/0.2416, allocations: 33.67 kB / 0.6518 GB, free: 56.49 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2416, allocations: 0 / 0.6518 GB, free: 56.49 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.46e-05/0.2416, allocations: 17.05 kB / 0.6518 GB, free: 56.49 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.2419, allocations: 5.469 kB / 0.6518 GB, free: 56.49 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.2423, allocations: 176.1 kB / 0.652 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.848e-05/0.2423, allocations: 59.81 kB / 0.652 GB, free: 56.31 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.935e-05/0.2423, allocations: 7.484 kB / 0.652 GB, free: 56.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/0.2424, allocations: 13.22 kB / 0.652 GB, free: 56.31 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.2424, allocations: 0 / 0.652 GB, free: 56.31 MB / 0.5606 GB Notification: Performance of Templates: time 0.003107/0.2455, allocations: 0.6457 MB / 0.6527 GB, free: 56.31 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7352202497422695] Failed to read output from testmodel.py, exit status != 0: 0.2533366233110428 0.26216677099999997 0.25518025699999997 Calling exit ...