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.001288/0.001288, allocations: 75.22 kB / 19.93 MB, free: 1.77 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.001404/0.001404, allocations: 168.8 kB / 23.22 MB, free: 4.887 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.371/1.371, allocations: 177.1 MB / 203.5 MB, free: 9.168 MB / 190.1 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.8807/0.8807, allocations: 114 MB / 373.9 MB, free: 13.24 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.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.723e-06/1.723e-06, allocations: 0 / 0.5546 GB, free: 2.707 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.059e-05, allocations: 6.219 kB / 0.5547 GB, free: 2.699 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001544/0.001565, allocations: 0.6613 MB / 0.5553 GB, free: 2.039 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.002963, allocations: 1.104 MB / 0.5564 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.003006, allocations: 0 / 0.5564 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.138e-05/0.003037, allocations: 3.938 kB / 0.5564 GB, free: 0.918 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.024e-05/0.003107, allocations: 15.86 kB / 0.5564 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.003391, allocations: 55.81 kB / 0.5564 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.003498, allocations: 71.77 kB / 0.5565 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.963e-05/0.003578, allocations: 4 kB / 0.5565 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.663e-05/0.003665, allocations: 39.91 kB / 0.5566 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.328e-05/0.003728, allocations: 31.88 kB / 0.5566 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.003749, allocations: 8 kB / 0.5566 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.53e-05/0.003815, allocations: 20 kB / 0.5566 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.003838, allocations: 11.97 kB / 0.5566 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.588e-05/0.003884, allocations: 23.92 kB / 0.5566 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.004047, allocations: 95.64 kB / 0.5567 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.004049, allocations: 0 / 0.5567 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00405, allocations: 4 kB / 0.5567 GB, free: 0.543 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.004054, allocations: 0 / 0.5567 GB, free: 0.543 MB / 462.1 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.0005903/0.004644, allocations: 304.8 kB / 0.557 GB, free: 220 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.00468, allocations: 12.62 kB / 0.557 GB, free: 208 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.506e-05/0.004765, allocations: 8.891 kB / 0.5571 GB, free: 200 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.004867, allocations: 113.7 kB / 0.5572 GB, free: 60 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.004887, allocations: 4.312 kB / 0.5572 GB, free: 56 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.004906, allocations: 12.38 kB / 0.5572 GB, free: 44 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.005138, allocations: 84.12 kB / 0.5573 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.005147, allocations: 192 / 0.5573 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.005157, allocations: 384 / 0.5573 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.005163, allocations: 8.312 kB / 0.5573 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/0.005376, allocations: 55.83 kB / 0.5573 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004625/0.005838, allocations: 248.4 kB / 0.5576 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.006039, allocations: 78.47 kB / 0.5576 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.006159, allocations: 40.83 kB / 0.5577 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.006184, allocations: 4 kB / 0.5577 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.006377, allocations: 91.48 kB / 0.5578 GB, free: 15.39 MB / 478.1 MB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.006379, allocations: 3.938 kB / 0.5578 GB, free: 15.38 MB / 478.1 MB Notification: Performance of matching and sorting (n=10): time 0.000497/0.006876, allocations: 169.6 kB / 0.5579 GB, free: 15.21 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.006924, allocations: 59.34 kB / 0.558 GB, free: 15.14 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.965e-05/0.007003, allocations: 109.8 kB / 0.5581 GB, free: 15.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.00703, allocations: 29.7 kB / 0.5581 GB, free: 14.99 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.00708, allocations: 88.38 kB / 0.5582 GB, free: 14.89 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.007114, allocations: 31.73 kB / 0.5582 GB, free: 14.86 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.223e-05/0.007166, allocations: 29.7 kB / 0.5583 GB, free: 14.83 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.0073, allocations: 318.8 kB / 0.5586 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.007424, allocations: 35.97 kB / 0.5586 GB, free: 14.47 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.007561, allocations: 62.53 kB / 0.5587 GB, free: 14.4 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.007808, allocations: 102.5 kB / 0.5588 GB, free: 14.29 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.00781, allocations: 0 / 0.5588 GB, free: 14.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003328/0.008142, allocations: 148.3 kB / 0.5589 GB, free: 14.14 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.008156, allocations: 7.938 kB / 0.5589 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.00816, allocations: 64 / 0.5589 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.008176, allocations: 11.98 kB / 0.5589 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.0083, allocations: 15.98 kB / 0.5589 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.008305, allocations: 4 kB / 0.5589 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.449e-05/0.008379, allocations: 12.31 kB / 0.5589 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.008391, allocations: 4 kB / 0.559 GB, free: 14.09 MB / 478.1 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 0.000104/0.008495, allocations: 130.8 kB / 0.5591 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.008513, allocations: 8.141 kB / 0.5591 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000358/0.008871, allocations: 153.9 kB / 0.5592 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.008873, allocations: 0 / 0.5592 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.00888, allocations: 4 kB / 0.5592 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.008883, allocations: 0 / 0.5592 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005178/0.009401, allocations: 354.1 kB / 0.5596 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.009402, allocations: 0 / 0.5596 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.046e-05/0.009472, allocations: 11.98 kB / 0.5596 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.009475, allocations: 0 / 0.5596 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.009487, allocations: 4 kB / 0.5596 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.009488, allocations: 4 kB / 0.5596 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.009489, allocations: 0 / 0.5596 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003819/0.009871, allocations: 243.3 kB / 0.5598 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.041e-05/0.009881, allocations: 7.953 kB / 0.5598 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.0099, allocations: 3.938 kB / 0.5598 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.01001, allocations: 7.984 kB / 0.5598 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.01004, allocations: 11.98 kB / 0.5599 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.01005, allocations: 4 kB / 0.5599 GB, free: 13.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.744e-05/0.0101, allocations: 91.27 kB / 0.5599 GB, free: 13.01 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0101, allocations: 0 / 0.5599 GB, free: 13.01 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.01035, allocations: 19.94 kB / 0.56 GB, free: 12.99 MB / 478.1 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 0.0001477/0.0105, allocations: 111.2 kB / 0.5601 GB, free: 12.87 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003025/0.0108, allocations: 88.16 kB / 0.5602 GB, free: 12.78 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.0108, allocations: 3.938 kB / 0.5602 GB, free: 12.78 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.01094, allocations: 52.03 kB / 0.5602 GB, free: 12.73 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.01119, allocations: 15.92 kB / 0.5602 GB, free: 12.71 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/0.01154, allocations: 153.6 kB / 0.5604 GB, free: 12.54 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.6e-05/0.01161, allocations: 75.33 kB / 0.5604 GB, free: 12.44 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 3.4e-05/0.01164, allocations: 8.484 kB / 0.5604 GB, free: 12.43 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.01168, allocations: 12.5 kB / 0.5605 GB, free: 12.42 MB / 478.1 MB Notification: Performance of SimCode: time 3.3e-07/0.01168, allocations: 0 / 0.5605 GB, free: 12.42 MB / 478.1 MB Notification: Performance of Templates: time 0.003811/0.01549, allocations: 1.084 MB / 0.5615 GB, free: 11.38 MB / 478.1 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.971116650849581] Failed to read output from testmodel.py, exit status != 0: 0.023188214749097824 0.036673316000000004 0.029793943000000003 Calling exit ...