Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.001324/0.001324, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.00165/0.00165, allocations: 212 kB / 22.24 MB, free: 5.242 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.256/1.256, allocations: 203.8 MB / 0.5041 GB, free: 4.605 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 660] "Notification: IDEAS 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.002119/0.002119, allocations: 71.89 kB / 0.7186 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6141/0.6162, allocations: 102 MB / 0.8182 GB, free: 28.91 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.002091/0.6183, allocations: 0.6531 MB / 0.8189 GB, free: 28.53 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.6198, allocations: 1.102 MB / 0.82 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.869e-05/0.6198, allocations: 0.75 kB / 0.82 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.211e-05/0.6198, allocations: 5.75 kB / 0.82 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.525e-05/0.6199, allocations: 5.641 kB / 0.82 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.6202, allocations: 48.56 kB / 0.82 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.6203, allocations: 55.77 kB / 0.8201 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.6204, allocations: 5.125 kB / 0.8201 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 7.302e-05/0.6205, allocations: 31.53 kB / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 5.806e-05/0.6206, allocations: 20.72 kB / 0.8201 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.6206, allocations: 5.781 kB / 0.8201 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 7.63e-05/0.6207, allocations: 16.02 kB / 0.8201 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.6207, allocations: 12.86 kB / 0.8202 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.6207, allocations: 19.34 kB / 0.8202 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.6209, allocations: 66.28 kB / 0.8202 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6209, allocations: 1.906 kB / 0.8202 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6209, allocations: 0 / 0.8202 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.6209, allocations: 0 / 0.8202 GB, free: 27.61 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005944/0.6215, allocations: 296.9 kB / 0.8205 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.6215, allocations: 10.81 kB / 0.8205 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.77e-05/0.6216, allocations: 4.844 kB / 0.8205 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.036e-05/0.6217, allocations: 120.5 kB / 0.8206 GB, free: 27.19 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.6217, allocations: 1.844 kB / 0.8206 GB, free: 27.19 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.6218, allocations: 8.281 kB / 0.8207 GB, free: 27.19 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.622, allocations: 66.25 kB / 0.8207 GB, free: 27.15 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.622, allocations: 192 / 0.8207 GB, free: 27.15 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.622, allocations: 4.547 kB / 0.8207 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.622, allocations: 1.875 kB / 0.8207 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.6222, allocations: 40.38 kB / 0.8208 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.6226, allocations: 222.4 kB / 0.821 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.6228, allocations: 53.52 kB / 0.821 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.6229, allocations: 31.92 kB / 0.8211 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.623, allocations: 2.547 kB / 0.8211 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002055/0.6232, allocations: 78.02 kB / 0.8211 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.6232, allocations: 3.938 kB / 0.8211 GB, free: 26.81 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0004731/0.6236, allocations: 134.5 kB / 0.8213 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.6237, allocations: 57.11 kB / 0.8213 GB, free: 26.69 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.827e-05/0.6238, allocations: 108.8 kB / 0.8214 GB, free: 26.58 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.6238, allocations: 26.83 kB / 0.8215 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.6238, allocations: 88.05 kB / 0.8215 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.6238, allocations: 16.38 kB / 0.8216 GB, free: 26.45 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.267e-05/0.6239, allocations: 29.92 kB / 0.8216 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.774e-05/0.624, allocations: 318.5 kB / 0.8219 GB, free: 26.11 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.6241, allocations: 29.09 kB / 0.8219 GB, free: 26.11 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.6242, allocations: 59.09 kB / 0.822 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.6244, allocations: 96.97 kB / 0.8221 GB, free: 26 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.6244, allocations: 0.9375 kB / 0.8221 GB, free: 26 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003254/0.6248, allocations: 121 kB / 0.8222 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.6248, allocations: 6.234 kB / 0.8222 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.6248, allocations: 1.281 kB / 0.8222 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.6248, allocations: 2.406 kB / 0.8222 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.625, allocations: 20.53 kB / 0.8222 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.625, allocations: 2.094 kB / 0.8222 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.506e-05/0.625, allocations: 11.52 kB / 0.8222 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.6251, allocations: 4.406 kB / 0.8222 GB, free: 25.93 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.83e-05/0.6251, allocations: 130.5 kB / 0.8223 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.6252, allocations: 2.625 kB / 0.8223 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/0.6255, allocations: 112.1 kB / 0.8225 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.6255, allocations: 1.156 kB / 0.8225 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6255, allocations: 0 / 0.8225 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.6255, allocations: 1.156 kB / 0.8225 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.626, allocations: 309.1 kB / 0.8228 GB, free: 25.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.626, allocations: 4 kB / 0.8228 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.525e-05/0.626, allocations: 10.45 kB / 0.8228 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.626, allocations: 1.797 kB / 0.8228 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.626, allocations: 1.891 kB / 0.8228 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.626, allocations: 0 / 0.8228 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.626, allocations: 1.953 kB / 0.8228 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.6263, allocations: 199.6 kB / 0.823 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.6263, allocations: 5.203 kB / 0.823 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.6263, allocations: 5.953 kB / 0.823 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.6264, allocations: 8.125 kB / 0.823 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.6265, allocations: 9.641 kB / 0.823 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.6265, allocations: 6.578 kB / 0.823 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.457e-05/0.6265, allocations: 86.38 kB / 0.8231 GB, free: 25.22 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.6265, allocations: 0 / 0.8231 GB, free: 25.22 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002584/0.6268, allocations: 16.48 kB / 0.8231 GB, free: 25.21 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001211/0.6269, allocations: 104.7 kB / 0.8232 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002838/0.6272, allocations: 77.08 kB / 0.8233 GB, free: 25.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.6272, allocations: 0 / 0.8233 GB, free: 25.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.6273, allocations: 33.56 kB / 0.8233 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.6276, allocations: 9.672 kB / 0.8233 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.6279, allocations: 145.5 kB / 0.8234 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.872e-05/0.628, allocations: 74.7 kB / 0.8235 GB, free: 24.88 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.379e-05/0.628, allocations: 6.312 kB / 0.8235 GB, free: 24.88 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.628, allocations: 10.86 kB / 0.8235 GB, free: 24.88 MB / 0.6387 GB Notification: Performance of SimCode: time 2.91e-07/0.628, allocations: 0 / 0.8235 GB, free: 24.88 MB / 0.6387 GB Notification: Performance of Templates: time 0.003903/0.6319, allocations: 0.8965 MB / 0.8244 GB, free: 24.75 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.826778456568718] Failed to read output from testmodel.py, exit status != 0: 0.6407115962356329 0.653323161 0.02973392 Calling exit ...