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.0007616/0.0007616, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007635/0.0007635, allocations: 165.9 kB / 23.96 MB, free: 0.5977 MB / 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.8644/0.8644, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.5421/0.5421, allocations: 114 MB / 374.7 MB, free: 8.711 MB / 346.7 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: Performance of FrontEnd - loaded program: time 3.005e-06/3.005e-06, allocations: 0 / 0.5555 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.089e-05/3.389e-05, allocations: 4.953 kB / 0.5555 GB, free: 2.238 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.00311/0.003144, allocations: 1.813 MB / 0.5573 GB, free: 432 kB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.004977, allocations: 1.633 MB / 0.5589 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.005138, allocations: 11.94 kB / 0.5589 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.005334, allocations: 87.05 kB / 0.559 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.005584, allocations: 87.19 kB / 0.559 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004106/0.005994, allocations: 325.8 kB / 0.5593 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004504/0.006445, allocations: 0.6996 MB / 0.56 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/0.006726, allocations: 221.8 kB / 0.5602 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.006993, allocations: 391.2 kB / 0.5606 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.007179, allocations: 215.2 kB / 0.5608 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.265e-05/0.007242, allocations: 76 kB / 0.5609 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 8.277e-05/0.007325, allocations: 83.98 kB / 0.561 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.642e-05/0.007401, allocations: 155.4 kB / 0.5611 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.00752, allocations: 195.5 kB / 0.5613 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005489/0.008069, allocations: 0.8799 MB / 0.5622 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.008072, allocations: 3.938 kB / 0.5622 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.062e-06/0.008073, allocations: 0 / 0.5622 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.008079, allocations: 0 / 0.5622 GB, free: 11.37 MB / 0.5261 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.001161/0.00924, allocations: 1.018 MB / 0.5632 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.009279, allocations: 12.62 kB / 0.5632 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.694e-05/0.009366, allocations: 68.52 kB / 0.5632 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/0.009814, allocations: 354.3 kB / 0.5636 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.499e-05/0.009859, allocations: 37.38 kB / 0.5636 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-05/0.009942, allocations: 56.38 kB / 0.5637 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005707/0.01051, allocations: 0.5458 MB / 0.5642 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.01053, allocations: 4.125 kB / 0.5642 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.01056, allocations: 24.38 kB / 0.5642 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.01057, allocations: 12.38 kB / 0.5642 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004319/0.011, allocations: 343.8 kB / 0.5646 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.0124, allocations: 1.271 MB / 0.5658 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004901/0.01289, allocations: 404.7 kB / 0.5662 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.01311, allocations: 214 kB / 0.5664 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.01314, allocations: 7.938 kB / 0.5664 GB, free: 6.883 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002764/0.01341, allocations: 249.7 kB / 0.5666 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 1.773e-06/0.01342, allocations: 3.938 kB / 0.5666 GB, free: 6.625 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.0006611/0.01408, allocations: 0.5163 MB / 0.5672 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.01413, allocations: 115.2 kB / 0.5673 GB, free: 5.969 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.01439, allocations: 349.6 kB / 0.5676 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.01442, allocations: 37.7 kB / 0.5676 GB, free: 5.578 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.01456, allocations: 261.2 kB / 0.5679 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.256e-05/0.01464, allocations: 170.6 kB / 0.568 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.01474, allocations: 98.17 kB / 0.5681 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.01483, allocations: 350.8 kB / 0.5685 GB, free: 4.695 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.0151, allocations: 224.4 kB / 0.5687 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.01542, allocations: 416.2 kB / 0.5691 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/0.01588, allocations: 440.3 kB / 0.5695 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01588, allocations: 0 / 0.5695 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006621/0.01654, allocations: 0.5982 MB / 0.5701 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.01658, allocations: 37.69 kB / 0.5701 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.01658, allocations: 0 / 0.5701 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.0166, allocations: 4 kB / 0.5701 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.01682, allocations: 99.83 kB / 0.5702 GB, free: 2.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.01683, allocations: 8.156 kB / 0.5702 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.01703, allocations: 83.61 kB / 0.5703 GB, free: 2.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.01706, allocations: 23.98 kB / 0.5703 GB, free: 2.656 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002915/0.01735, allocations: 314.8 kB / 0.5706 GB, free: 2.336 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002827/0.01764, allocations: 396.2 kB / 0.571 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003639/0.018, allocations: 389.2 kB / 0.5714 GB, free: 1.477 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.018, allocations: 0 / 0.5714 GB, free: 1.477 MB / 0.5261 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0005496/0.01855, allocations: 0.5552 MB / 0.5719 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.01857, allocations: 41.92 kB / 0.572 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.01858, allocations: 0 / 0.572 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.479e-06/0.01858, allocations: 7.938 kB / 0.572 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.01875, allocations: 91.83 kB / 0.5721 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.01875, allocations: 4 kB / 0.5721 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.01893, allocations: 75.62 kB / 0.5721 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.01895, allocations: 23.98 kB / 0.5722 GB, free: 0.6562 MB / 0.5261 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.0001078/0.01906, allocations: 212.1 kB / 0.5724 GB, free: 452 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.01909, allocations: 39.77 kB / 0.5724 GB, free: 412 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004966/0.01959, allocations: 426.7 kB / 0.5728 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.01959, allocations: 4 kB / 0.5728 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.0196, allocations: 3.938 kB / 0.5728 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.0196, allocations: 0 / 0.5728 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009666/0.02057, allocations: 0.9795 MB / 0.5738 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.02057, allocations: 4 kB / 0.5738 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.02075, allocations: 79.89 kB / 0.5738 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.02076, allocations: 8.125 kB / 0.5739 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.02078, allocations: 19.98 kB / 0.5739 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.02078, allocations: 4 kB / 0.5739 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.02078, allocations: 4 kB / 0.5739 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006759/0.02146, allocations: 0.7165 MB / 0.5746 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.0215, allocations: 51.77 kB / 0.5746 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.02153, allocations: 16 kB / 0.5746 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.02164, allocations: 27.97 kB / 0.5747 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.02169, allocations: 35.67 kB / 0.5747 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.02171, allocations: 23.92 kB / 0.5747 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001612/0.02187, allocations: 239.2 kB / 0.575 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.02187, allocations: 4 kB / 0.575 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003711/0.02224, allocations: 215.3 kB / 0.5752 GB, free: 13.46 MB / 0.5417 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.0001577/0.0224, allocations: 119.1 kB / 0.5753 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008145/0.02321, allocations: 0.7882 MB / 0.5761 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.02321, allocations: 0 / 0.5761 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.02342, allocations: 197.3 kB / 0.5762 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.02378, allocations: 89.45 kB / 0.5763 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009698/0.02475, allocations: 0.9336 MB / 0.5772 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.0249, allocations: 255 kB / 0.5775 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.605e-05/0.02498, allocations: 44.48 kB / 0.5775 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of SimCode: time 5.61e-07/0.02498, allocations: 0 / 0.5775 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of Templates: time 0.005435/0.03042, allocations: 6.002 MB / 0.5834 GB, free: 4.953 MB / 0.5417 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: 5.033212594687939] Failed to read output from testmodel.py, exit status != 0: 0.036675588227808475 0.043902185 0.03413362 Calling exit ...