Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.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.001894/0.001894, allocations: 105 kB / 20.45 MB, free: 1.5 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.002513/0.002513, allocations: 219.2 kB / 23.76 MB, free: 4.711 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.564/1.564, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9757/0.9757, allocations: 150 MB / 463.9 MB, free: 10.51 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale") [Timeout 660] "Notification: IBPSA 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.00209/0.00209, allocations: 65.42 kB / 0.6425 GB, free: 9.848 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1761, allocations: 89.17 MB / 0.7296 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003747/0.1799, allocations: 2.073 MB / 0.7316 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002868/0.1828, allocations: 1.645 MB / 0.7333 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003694/0.1831, allocations: 15.94 kB / 0.7333 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.1834, allocations: 83.06 kB / 0.7333 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.1837, allocations: 83.19 kB / 0.7334 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009183/0.1847, allocations: 339 kB / 0.7338 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009096/0.1856, allocations: 0.6842 MB / 0.7344 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004194/0.186, allocations: 233.8 kB / 0.7346 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003354/0.1863, allocations: 267 kB / 0.7349 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003849/0.1867, allocations: 282.6 kB / 0.7352 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.1868, allocations: 76 kB / 0.7352 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.187, allocations: 91.98 kB / 0.7353 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.1871, allocations: 139.5 kB / 0.7355 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000303/0.1874, allocations: 306.4 kB / 0.7358 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000906/0.1883, allocations: 0.8286 MB / 0.7366 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1883, allocations: 4 kB / 0.7366 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1883, allocations: 0 / 0.7366 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.22e-05/0.1883, allocations: 0 / 0.7366 GB, free: 9.586 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002032/0.1904, allocations: 1.037 MB / 0.7376 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1904, allocations: 11.97 kB / 0.7376 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.1906, allocations: 72.52 kB / 0.7377 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006741/0.1913, allocations: 347 kB / 0.738 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.982e-05/0.1913, allocations: 45.31 kB / 0.738 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.993e-05/0.1914, allocations: 60.38 kB / 0.7381 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008912/0.1923, allocations: 499.5 kB / 0.7386 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.1923, allocations: 192 / 0.7386 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.67e-05/0.1924, allocations: 23.94 kB / 0.7386 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.1924, allocations: 12 kB / 0.7386 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007338/0.1931, allocations: 355.7 kB / 0.7389 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002549/0.1957, allocations: 1.5 MB / 0.7404 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008367/0.1965, allocations: 400.9 kB / 0.7408 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003966/0.1969, allocations: 218 kB / 0.741 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.946e-05/0.1969, allocations: 8 kB / 0.741 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004676/0.1974, allocations: 241.6 kB / 0.7412 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 2.304e-06/0.1974, allocations: 0 / 0.7412 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47): time 0.001088/0.1985, allocations: 0.5261 MB / 0.7417 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.532e-05/0.1986, allocations: 107.2 kB / 0.7419 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004851/0.1991, allocations: 389.6 kB / 0.7422 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.96e-05/0.1991, allocations: 41.69 kB / 0.7423 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.1994, allocations: 257.3 kB / 0.7425 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.1995, allocations: 170.5 kB / 0.7427 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.1997, allocations: 98.17 kB / 0.7428 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.1999, allocations: 354.8 kB / 0.7431 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000432/0.2003, allocations: 198.6 kB / 0.7433 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005146/0.2008, allocations: 275.6 kB / 0.7436 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007926/0.2016, allocations: 439.3 kB / 0.744 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2016, allocations: 0 / 0.744 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001164/0.2028, allocations: 0.5715 MB / 0.7445 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.717e-05/0.2028, allocations: 45.86 kB / 0.7446 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2028, allocations: 4 kB / 0.7446 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.2029, allocations: 7.984 kB / 0.7446 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004146/0.2033, allocations: 95.83 kB / 0.7447 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.2033, allocations: 4 kB / 0.7447 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003973/0.2037, allocations: 79.67 kB / 0.7448 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.636e-05/0.2037, allocations: 16 kB / 0.7448 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004756/0.2042, allocations: 293.1 kB / 0.7451 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004067/0.2046, allocations: 251.7 kB / 0.7453 GB, free: 288 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006155/0.2052, allocations: 387.4 kB / 0.7457 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-06/0.2052, allocations: 0 / 0.7457 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0009542/0.2062, allocations: 0.5325 MB / 0.7462 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.997e-05/0.2062, allocations: 41.69 kB / 0.7462 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2062, allocations: 3.938 kB / 0.7462 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-06/0.2062, allocations: 4 kB / 0.7462 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.2066, allocations: 83.91 kB / 0.7463 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.2066, allocations: 11.92 kB / 0.7463 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/0.2069, allocations: 71.95 kB / 0.7464 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.207, allocations: 20 kB / 0.7464 GB, free: 15.09 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0002054/0.2072, allocations: 212.1 kB / 0.7466 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.543e-05/0.2073, allocations: 51.66 kB / 0.7467 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008533/0.2081, allocations: 433.3 kB / 0.7471 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.2081, allocations: 8 kB / 0.7471 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2081, allocations: 0 / 0.7471 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.2081, allocations: 0 / 0.7471 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.21, allocations: 1.108 MB / 0.7482 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.21, allocations: 4 kB / 0.7482 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003658/0.2103, allocations: 83.83 kB / 0.7482 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.2103, allocations: 4 kB / 0.7482 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.2104, allocations: 8.188 kB / 0.7483 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.2104, allocations: 8 kB / 0.7483 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.2104, allocations: 7.938 kB / 0.7483 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.2116, allocations: 0.7264 MB / 0.749 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-05/0.2117, allocations: 55.7 kB / 0.749 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.305e-05/0.2117, allocations: 8 kB / 0.749 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.2119, allocations: 23.98 kB / 0.7491 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.238e-05/0.212, allocations: 39.88 kB / 0.7491 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.212, allocations: 19.94 kB / 0.7491 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003309/0.2124, allocations: 271.2 kB / 0.7494 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2124, allocations: 0 / 0.7494 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006566/0.213, allocations: 199.4 kB / 0.7496 GB, free: 11.73 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001945/0.2132, allocations: 123.1 kB / 0.7497 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001455/0.2147, allocations: 0.7249 MB / 0.7504 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2147, allocations: 0.875 kB / 0.7504 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.215, allocations: 192 kB / 0.7506 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006136/0.2156, allocations: 92.06 kB / 0.7507 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.2173, allocations: 0.9849 MB / 0.7516 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005126/0.2179, allocations: 0.8474 MB / 0.7525 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.218, allocations: 47.42 kB / 0.7525 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of SimCode: time 6.81e-07/0.218, allocations: 0 / 0.7525 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of Templates: time 0.01045/0.2284, allocations: 5.965 MB / 0.7583 GB, free: 2.676 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.890063490020111] Failed to read output from testmodel.py, exit status != 0: 0.23740200605243444 0.49363383000000005 0.30231403300000004 Calling exit ...