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.00136/0.00136, allocations: 109 kB / 17.12 MB, free: 5.926 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.00143/0.00143, allocations: 205 kB / 20.09 MB, free: 2.977 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.572/1.572, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.057/1.057, allocations: 150 MB / 459.5 MB, free: 5.324 MB / 350.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.002077/0.002077, allocations: 72.45 kB / 0.6366 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2067, allocations: 89.14 MB / 0.7237 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.004101/0.2108, allocations: 2.063 MB / 0.7257 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003002/0.2138, allocations: 1.645 MB / 0.7273 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003288/0.2141, allocations: 11.94 kB / 0.7273 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.2144, allocations: 87.05 kB / 0.7274 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.2146, allocations: 87.19 kB / 0.7275 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008642/0.2155, allocations: 322.7 kB / 0.7278 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000721/0.2162, allocations: 0.6842 MB / 0.7285 GB, free: 14.56 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004061/0.2166, allocations: 229.4 kB / 0.7287 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002968/0.2169, allocations: 267 kB / 0.7289 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004523/0.2174, allocations: 290.6 kB / 0.7292 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.2175, allocations: 76 kB / 0.7293 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.2176, allocations: 91.92 kB / 0.7294 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002013/0.2178, allocations: 139.6 kB / 0.7295 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002844/0.2181, allocations: 298.4 kB / 0.7298 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009612/0.2191, allocations: 0.8325 MB / 0.7306 GB, free: 12.35 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2191, allocations: 0 / 0.7306 GB, free: 12.35 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2191, allocations: 0 / 0.7306 GB, free: 12.35 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.188e-06/0.2191, allocations: 0 / 0.7306 GB, free: 12.35 MB / 0.545 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.001643/0.2207, allocations: 0.9238 MB / 0.7315 GB, free: 11.37 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.2208, allocations: 12.03 kB / 0.7315 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.221, allocations: 76.5 kB / 0.7316 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006313/0.2216, allocations: 416.7 kB / 0.732 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.456e-05/0.2216, allocations: 45.38 kB / 0.732 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.17e-05/0.2217, allocations: 56.38 kB / 0.7321 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008923/0.2226, allocations: 0.4917 MB / 0.7326 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.2226, allocations: 192 / 0.7326 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.898e-05/0.2227, allocations: 23.94 kB / 0.7326 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.2227, allocations: 12 kB / 0.7326 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007685/0.2235, allocations: 347.8 kB / 0.7329 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002958/0.2264, allocations: 1.551 MB / 0.7344 GB, free: 8.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.2275, allocations: 0.8463 MB / 0.7353 GB, free: 7.285 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004102/0.2279, allocations: 204.8 kB / 0.7355 GB, free: 7.082 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.893e-05/0.228, allocations: 8 kB / 0.7355 GB, free: 7.074 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004702/0.2284, allocations: 249.5 kB / 0.7357 GB, free: 6.816 MB / 0.545 GB Notification: Performance of pre-optimization done (n=47): time 2.134e-06/0.2284, allocations: 3.938 kB / 0.7357 GB, free: 6.812 MB / 0.545 GB Notification: Performance of matching and sorting (n=47): time 0.001125/0.2296, allocations: 0.5261 MB / 0.7362 GB, free: 6.281 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.2297, allocations: 115.2 kB / 0.7363 GB, free: 6.141 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000504/0.2302, allocations: 385.6 kB / 0.7367 GB, free: 5.754 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.368e-05/0.2302, allocations: 33.7 kB / 0.7367 GB, free: 5.715 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.2305, allocations: 257.3 kB / 0.737 GB, free: 5.461 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.2306, allocations: 170.6 kB / 0.7371 GB, free: 5.293 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.2308, allocations: 98.23 kB / 0.7372 GB, free: 5.188 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.231, allocations: 354.8 kB / 0.7376 GB, free: 4.832 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/0.2315, allocations: 187 kB / 0.7378 GB, free: 4.648 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005019/0.232, allocations: 280.3 kB / 0.738 GB, free: 4.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008259/0.2328, allocations: 439.3 kB / 0.7384 GB, free: 3.883 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2328, allocations: 0 / 0.7384 GB, free: 3.883 MB / 0.545 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001227/0.234, allocations: 0.5754 MB / 0.739 GB, free: 3.297 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.332e-05/0.2341, allocations: 41.64 kB / 0.739 GB, free: 3.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.2341, allocations: 0 / 0.739 GB, free: 3.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.2341, allocations: 4 kB / 0.739 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004476/0.2345, allocations: 108 kB / 0.7392 GB, free: 3.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.2346, allocations: 4 kB / 0.7392 GB, free: 3.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/0.235, allocations: 83.61 kB / 0.7392 GB, free: 3.055 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.321e-05/0.235, allocations: 16 kB / 0.7392 GB, free: 3.039 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004962/0.2355, allocations: 281.2 kB / 0.7395 GB, free: 2.762 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004125/0.2359, allocations: 260.3 kB / 0.7398 GB, free: 2.469 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005914/0.2365, allocations: 387.4 kB / 0.7401 GB, free: 2.059 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.2365, allocations: 0 / 0.7401 GB, free: 2.059 MB / 0.545 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0009389/0.2375, allocations: 0.5287 MB / 0.7407 GB, free: 1.516 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.469e-05/0.2375, allocations: 41.69 kB / 0.7407 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.2375, allocations: 3.938 kB / 0.7407 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.961e-06/0.2375, allocations: 4 kB / 0.7407 GB, free: 1.461 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.2379, allocations: 87.84 kB / 0.7408 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.2379, allocations: 11.88 kB / 0.7408 GB, free: 1.363 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003575/0.2382, allocations: 71.72 kB / 0.7409 GB, free: 1.293 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.2383, allocations: 24.09 kB / 0.7409 GB, free: 1.27 MB / 0.545 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.0002385/0.2385, allocations: 205.1 kB / 0.7411 GB, free: 1.062 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.6e-05/0.2386, allocations: 55.64 kB / 0.7411 GB, free: 1.008 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009691/0.2396, allocations: 421.4 kB / 0.7415 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.2396, allocations: 8 kB / 0.7415 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.2396, allocations: 4 kB / 0.7415 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.2396, allocations: 3.984 kB / 0.7416 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.2414, allocations: 1.143 MB / 0.7427 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.2414, allocations: 4 kB / 0.7427 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/0.2418, allocations: 83.83 kB / 0.7428 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.2418, allocations: 4.094 kB / 0.7428 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.2418, allocations: 8 kB / 0.7428 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.2418, allocations: 4 kB / 0.7428 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.2418, allocations: 11.92 kB / 0.7428 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.2432, allocations: 0.7265 MB / 0.7435 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.2433, allocations: 136.8 kB / 0.7436 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.283e-05/0.2434, allocations: 8 kB / 0.7436 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.2436, allocations: 27.97 kB / 0.7437 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.818e-05/0.2437, allocations: 27.91 kB / 0.7437 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.2437, allocations: 19.98 kB / 0.7437 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004293/0.2442, allocations: 275.2 kB / 0.744 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2442, allocations: 0 / 0.744 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007868/0.2449, allocations: 203.4 kB / 0.7442 GB, free: 13.77 MB / 0.5606 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.0002986/0.2452, allocations: 119.1 kB / 0.7443 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001568/0.2468, allocations: 0.7289 MB / 0.745 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2468, allocations: 0 / 0.745 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004321/0.2472, allocations: 176.9 kB / 0.7451 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006651/0.2479, allocations: 105.9 kB / 0.7452 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.2498, allocations: 0.9473 MB / 0.7462 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005321/0.2503, allocations: 0.8511 MB / 0.747 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000219/0.2505, allocations: 59.36 kB / 0.7471 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.2506, allocations: 47.42 kB / 0.7471 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of SimCode: time 8.32e-07/0.2506, allocations: 0 / 0.7471 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of Templates: time 0.01256/0.2632, allocations: 6.096 MB / 0.7531 GB, free: 4.602 MB / 0.5606 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.456500410102308] Failed to read output from testmodel.py, exit status != 0: 0.2710187048651278 0.285072464 0.063076068 Calling exit ...