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.001902/0.001902, allocations: 103.7 kB / 20.5 MB, free: 1.34 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.001476/0.001476, allocations: 213.3 kB / 23.8 MB, free: 4.484 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.489/1.489, allocations: 230.6 MB / 257.6 MB, free: 7.746 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 1.027/1.027, allocations: 150 MB / 464 MB, free: 10.2 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.002071/0.002071, allocations: 66.64 kB / 0.6426 GB, free: 9.273 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1971, allocations: 89.17 MB / 0.7296 GB, free: 172 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003727/0.2008, allocations: 1.8 MB / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0028/0.2036, allocations: 1.622 MB / 0.733 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000236/0.2038, allocations: 12 kB / 0.733 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.2041, allocations: 87 kB / 0.7331 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.2044, allocations: 83.25 kB / 0.7332 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008698/0.2052, allocations: 316.6 kB / 0.7335 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007908/0.206, allocations: 0.6842 MB / 0.7341 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004352/0.2065, allocations: 221.8 kB / 0.7343 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003121/0.2068, allocations: 271 kB / 0.7346 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.2071, allocations: 250.6 kB / 0.7348 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.2072, allocations: 76 kB / 0.7349 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.2074, allocations: 83.98 kB / 0.735 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.2075, allocations: 147.5 kB / 0.7351 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002555/0.2077, allocations: 246.8 kB / 0.7354 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008844/0.2086, allocations: 0.8287 MB / 0.7362 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2086, allocations: 3.938 kB / 0.7362 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2086, allocations: 4 kB / 0.7362 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.2087, allocations: 4 kB / 0.7362 GB, free: 9.438 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.001818/0.2105, allocations: 1.03 MB / 0.7372 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.2105, allocations: 8.031 kB / 0.7372 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.2107, allocations: 76.5 kB / 0.7373 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006659/0.2113, allocations: 351 kB / 0.7376 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.264e-05/0.2114, allocations: 41.38 kB / 0.7376 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.068e-05/0.2115, allocations: 56.38 kB / 0.7377 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009132/0.2124, allocations: 0.5497 MB / 0.7382 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.2124, allocations: 4.188 kB / 0.7382 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.763e-05/0.2124, allocations: 27.88 kB / 0.7383 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.2125, allocations: 12 kB / 0.7383 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007064/0.2132, allocations: 347.8 kB / 0.7386 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/0.2154, allocations: 1.267 MB / 0.7398 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008069/0.2162, allocations: 396.5 kB / 0.7402 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003857/0.2166, allocations: 210 kB / 0.7404 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.2167, allocations: 11.92 kB / 0.7404 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004578/0.2171, allocations: 237.6 kB / 0.7407 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 2.535e-06/0.2171, allocations: 0 / 0.7407 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47): time 0.001234/0.2184, allocations: 0.5222 MB / 0.7412 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.471e-05/0.2184, allocations: 115.2 kB / 0.7413 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004379/0.2189, allocations: 349.6 kB / 0.7416 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.881e-05/0.2189, allocations: 37.7 kB / 0.7416 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.2192, allocations: 265.2 kB / 0.7419 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.2194, allocations: 170.5 kB / 0.7421 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.2195, allocations: 106.1 kB / 0.7422 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.2197, allocations: 350.8 kB / 0.7425 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004646/0.2202, allocations: 220.5 kB / 0.7427 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005857/0.2208, allocations: 408.2 kB / 0.7431 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008101/0.2216, allocations: 439.3 kB / 0.7435 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.2216, allocations: 4 kB / 0.7435 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001182/0.2228, allocations: 0.6005 MB / 0.7441 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.294e-05/0.2228, allocations: 37.69 kB / 0.7441 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.2229, allocations: 4 kB / 0.7441 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.877e-05/0.2229, allocations: 7.938 kB / 0.7442 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004376/0.2233, allocations: 91.89 kB / 0.7442 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/0.2234, allocations: 7.984 kB / 0.7442 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004157/0.2238, allocations: 79.94 kB / 0.7443 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-05/0.2238, allocations: 23.98 kB / 0.7443 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000526/0.2243, allocations: 310.7 kB / 0.7446 GB, free: 404 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005237/0.2249, allocations: 392.2 kB / 0.745 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006257/0.2255, allocations: 391.4 kB / 0.7454 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.003e-06/0.2255, allocations: 0 / 0.7454 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0009275/0.2264, allocations: 0.5499 MB / 0.7459 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/0.2265, allocations: 36.36 kB / 0.746 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2265, allocations: 4.219 kB / 0.746 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.2265, allocations: 8 kB / 0.746 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.2268, allocations: 95.77 kB / 0.7461 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.954e-06/0.2268, allocations: 4 kB / 0.7461 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003538/0.2272, allocations: 71.69 kB / 0.7461 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.2272, allocations: 19.98 kB / 0.7462 GB, free: 14.73 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.0002041/0.2274, allocations: 212.1 kB / 0.7464 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.2275, allocations: 51.66 kB / 0.7464 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008359/0.2283, allocations: 429.1 kB / 0.7468 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.2283, allocations: 7.938 kB / 0.7468 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2283, allocations: 0 / 0.7468 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.146e-05/0.2284, allocations: 43.62 kB / 0.7469 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.738e-05/0.2284, allocations: 11.94 kB / 0.7469 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.2286, allocations: 35.97 kB / 0.7469 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.2287, allocations: 24.39 kB / 0.7469 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00106/0.2297, allocations: 0.4996 MB / 0.7474 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001235/0.231, allocations: 0.7866 MB / 0.7482 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003174/0.2313, allocations: 167.5 kB / 0.7484 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002693/0.2315, allocations: 243.2 kB / 0.7486 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of Backend: time 5.61e-07/0.2315, allocations: 0 / 0.7486 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001572/0.2331, allocations: 0.7358 MB / 0.7493 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of SimCode: time 0.001795/0.2349, allocations: 1.3 MB / 0.7506 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of Templates: time 0.01602/0.2509, allocations: 8.55 MB / 0.7589 GB, free: 1.645 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: 6.452619373099878] Failed to read output from testmodel.py, exit status != 0: 0.2603278770111501 0.631957071 0.420422953 Calling exit ...