Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.0009783/0.0009783, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01311/0.01408, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.0009786/0.0009786, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002586/0.003565, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9301/0.9301, allocations: 177.1 MB / 189.6 MB, free: 3.73 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1589/1.089, allocations: 53.65 MB / 243.2 MB, free: 2.332 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6629/0.6629, allocations: 119.1 MB / 363.1 MB, free: 4.941 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06435/0.7273, allocations: 37.85 MB / 400.9 MB, free: 15.27 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 402.2 MB, free: 14 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.787e-06/1.043e-05, allocations: 2.312 kB / 402.2 MB, free: 14 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001025/0.001035, allocations: 0.7285 MB / 402.9 MB, free: 13.27 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009363/0.001972, allocations: 1.127 MB / 404 MB, free: 12.13 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.46e-05/0.002006, allocations: 0 / 404 MB, free: 12.13 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.002027, allocations: 3.938 kB / 404.1 MB, free: 12.12 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.332e-05/0.00206, allocations: 11.86 kB / 404.1 MB, free: 12.11 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.00221, allocations: 47.77 kB / 404.1 MB, free: 12.07 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 9.439e-05/0.002304, allocations: 71.77 kB / 404.2 MB, free: 12 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.388e-05/0.002378, allocations: 8 kB / 404.2 MB, free: 11.99 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.768e-05/0.002466, allocations: 43.95 kB / 404.2 MB, free: 11.95 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.173e-05/0.002518, allocations: 31.89 kB / 404.3 MB, free: 11.91 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.002533, allocations: 8 kB / 404.3 MB, free: 11.91 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.8e-05/0.002611, allocations: 23.92 kB / 404.3 MB, free: 11.88 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.002628, allocations: 11.94 kB / 404.3 MB, free: 11.87 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.002651, allocations: 12 kB / 404.3 MB, free: 11.86 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.002768, allocations: 55.83 kB / 404.4 MB, free: 11.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-05/0.002788, allocations: 0 / 404.4 MB, free: 11.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.002789, allocations: 0 / 404.4 MB, free: 11.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.002805, allocations: 0 / 404.4 MB, free: 11.8 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007329/0.003538, allocations: 300.4 kB / 404.7 MB, free: 11.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.00357, allocations: 11.89 kB / 404.7 MB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.003681, allocations: 90.03 kB / 404.8 MB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.53e-05/0.003767, allocations: 125.7 kB / 404.9 MB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.003786, allocations: 8.375 kB / 404.9 MB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.003796, allocations: 4.375 kB / 404.9 MB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.003919, allocations: 74.86 kB / 405 MB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.003928, allocations: 192 / 405 MB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.003936, allocations: 4.359 kB / 405 MB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.003943, allocations: 4.375 kB / 405 MB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.111e-05/0.003974, allocations: 19.92 kB / 405 MB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000295/0.004269, allocations: 180.2 kB / 405.2 MB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.157e-05/0.00435, allocations: 46.55 kB / 405.2 MB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.99e-05/0.00437, allocations: 16.84 kB / 405.2 MB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.00439, allocations: 4 kB / 405.2 MB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.74e-05/0.004467, allocations: 71.48 kB / 405.3 MB, free: 10.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.004468, allocations: 0 / 405.3 MB, free: 10.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001239/0.004592, allocations: 85.55 kB / 405.4 MB, free: 10.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.004626, allocations: 51.41 kB / 405.4 MB, free: 10.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.081e-05/0.004677, allocations: 114.7 kB / 405.6 MB, free: 10.47 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.004691, allocations: 29.7 kB / 405.6 MB, free: 10.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.004726, allocations: 92.31 kB / 405.7 MB, free: 10.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.004747, allocations: 23.78 kB / 405.7 MB, free: 10.31 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.004782, allocations: 37.69 kB / 405.7 MB, free: 10.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.00486, allocations: 322.8 kB / 406.1 MB, free: 9.945 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.004876, allocations: 8 kB / 406.1 MB, free: 9.938 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.82e-05/0.004904, allocations: 30.56 kB / 406.1 MB, free: 9.898 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.396e-05/0.004958, allocations: 67.83 kB / 406.2 MB, free: 9.824 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.00496, allocations: 0 / 406.2 MB, free: 9.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 7.725e-05/0.005037, allocations: 77.61 kB / 406.2 MB, free: 9.742 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.00505, allocations: 6.5 kB / 406.2 MB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.005055, allocations: 3.984 kB / 406.2 MB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.005064, allocations: 7.938 kB / 406.3 MB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.7e-05/0.005151, allocations: 27.92 kB / 406.3 MB, free: 9.699 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.005156, allocations: 4 kB / 406.3 MB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.81e-05/0.005184, allocations: 15.89 kB / 406.3 MB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.00519, allocations: 4.062 kB / 406.3 MB, free: 9.676 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 5.346e-05/0.005243, allocations: 113.8 kB / 406.4 MB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-06/0.005253, allocations: 11.98 kB / 406.4 MB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.539e-05/0.005338, allocations: 66.05 kB / 406.5 MB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.005342, allocations: 7.938 kB / 406.5 MB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.005343, allocations: 0 / 406.5 MB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.005346, allocations: 0 / 406.5 MB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.00551, allocations: 222.8 kB / 406.7 MB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.005511, allocations: 256 / 406.7 MB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.005546, allocations: 15.98 kB / 406.7 MB, free: 9.203 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-06/0.005554, allocations: 15.89 kB / 406.7 MB, free: 9.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.005556, allocations: 3.938 kB / 406.7 MB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.005561, allocations: 0 / 406.7 MB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.005562, allocations: 0 / 406.7 MB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.005563, allocations: 4 kB / 406.8 MB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.469e-05/0.005648, allocations: 163.5 kB / 406.9 MB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.005662, allocations: 3.938 kB / 406.9 MB, free: 9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.255e-05/0.005704, allocations: 7.984 kB / 406.9 MB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.005729, allocations: 8 kB / 406.9 MB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.005735, allocations: 7.984 kB / 406.9 MB, free: 8.977 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.062e-05/0.005746, allocations: 16.84 kB / 407 MB, free: 8.957 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005746, allocations: 0 / 407 MB, free: 8.957 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001274/0.005874, allocations: 23.94 kB / 407 MB, free: 8.934 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 8.898e-05/0.005963, allocations: 88.33 kB / 407.1 MB, free: 8.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.223e-05/0.006045, allocations: 60.27 kB / 407.1 MB, free: 8.785 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.006052, allocations: 8 kB / 407.1 MB, free: 8.777 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.974e-05/0.006082, allocations: 24.84 kB / 407.2 MB, free: 8.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.006212, allocations: 24.22 kB / 407.2 MB, free: 8.727 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005684/0.006781, allocations: 171.3 kB / 407.3 MB, free: 8.535 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.011e-05/0.006811, allocations: 59.36 kB / 407.4 MB, free: 8.457 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.429e-05/0.006835, allocations: 8.484 kB / 407.4 MB, free: 8.449 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.555e-05/0.006881, allocations: 55.38 kB / 407.5 MB, free: 8.395 MB / 394.7 MB Notification: Performance of SimCode: time 7.51e-07/0.006881, allocations: 0 / 407.5 MB, free: 8.395 MB / 394.7 MB Notification: Performance of Templates: time 0.002457/0.009339, allocations: 1.148 MB / 408.6 MB, free: 7.266 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1930328411981463]