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.0006918/0.0006918, allocations: 100.4 kB / 19.7 MB, free: 440 kB / 13.93 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.0007223/0.0007223, allocations: 215.4 kB / 23 MB, free: 2.965 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.82/0.82, allocations: 230.6 MB / 256.8 MB, free: 9.625 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7041/0.7041, allocations: 203.8 MB / 0.5049 GB, free: 10.43 MB / 410.7 MB " [Timeout remaining time 179] 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.0008493/0.0008493, allocations: 68.83 kB / 0.7194 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3979, allocations: 102 MB / 0.819 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001275/0.3992, allocations: 0.6523 MB / 0.8196 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008695/0.4001, allocations: 1.091 MB / 0.8207 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.21e-05/0.4001, allocations: 3.719 kB / 0.8207 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.329e-05/0.4002, allocations: 4.547 kB / 0.8207 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.793e-05/0.4002, allocations: 13.14 kB / 0.8207 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.4005, allocations: 39.11 kB / 0.8208 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.487e-05/0.4006, allocations: 65.94 kB / 0.8208 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.397e-05/0.4006, allocations: 9.703 kB / 0.8208 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.662e-05/0.4007, allocations: 15.81 kB / 0.8208 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.423e-05/0.4007, allocations: 25.59 kB / 0.8209 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.4008, allocations: 3.656 kB / 0.8209 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.875e-05/0.4008, allocations: 23.52 kB / 0.8209 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.4008, allocations: 9.609 kB / 0.8209 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.4009, allocations: 15.3 kB / 0.8209 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.401, allocations: 65.19 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.401, allocations: 1.578 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/0.401, allocations: 4 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.401, allocations: 3.938 kB / 0.821 GB, free: 15.98 MB / 0.6198 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.0004165/0.4014, allocations: 297.5 kB / 0.8213 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.4015, allocations: 12.47 kB / 0.8213 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.231e-05/0.4015, allocations: 2.344 kB / 0.8213 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.652e-05/0.4016, allocations: 115.4 kB / 0.8214 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.4016, allocations: 5.688 kB / 0.8214 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.4016, allocations: 8.562 kB / 0.8214 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.4018, allocations: 67.92 kB / 0.8215 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.4018, allocations: 192 / 0.8215 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.4018, allocations: 7.109 kB / 0.8215 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.4018, allocations: 0 / 0.8215 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.4019, allocations: 47.84 kB / 0.8215 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.4022, allocations: 213.1 kB / 0.8217 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.4023, allocations: 52.05 kB / 0.8218 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.233e-05/0.4023, allocations: 39.56 kB / 0.8218 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.4024, allocations: 1.406 kB / 0.8218 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.4025, allocations: 77.67 kB / 0.8219 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.4025, allocations: 1.188 kB / 0.8219 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002586/0.4028, allocations: 124.9 kB / 0.822 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.4028, allocations: 58.94 kB / 0.8221 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.764e-05/0.4029, allocations: 114.5 kB / 0.8222 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.4029, allocations: 29.7 kB / 0.8222 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.4029, allocations: 85.08 kB / 0.8223 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.4029, allocations: 26.55 kB / 0.8223 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.4029, allocations: 21.47 kB / 0.8223 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.77e-05/0.403, allocations: 319.8 kB / 0.8226 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.167e-05/0.4031, allocations: 25.69 kB / 0.8227 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.341e-05/0.4031, allocations: 60.61 kB / 0.8227 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.4032, allocations: 95.73 kB / 0.8228 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4032, allocations: 0 / 0.8228 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001607/0.4034, allocations: 118 kB / 0.8229 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.4034, allocations: 10.59 kB / 0.8229 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.4034, allocations: 0 / 0.8229 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.4034, allocations: 2.734 kB / 0.8229 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.664e-05/0.4035, allocations: 16.81 kB / 0.823 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.4035, allocations: 6.062 kB / 0.823 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.539e-05/0.4035, allocations: 12.19 kB / 0.823 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.4036, allocations: 4.156 kB / 0.823 GB, free: 14.29 MB / 0.6198 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 6.127e-05/0.4036, allocations: 126.2 kB / 0.8231 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.4036, allocations: 7.578 kB / 0.8231 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.4038, allocations: 108.3 kB / 0.8232 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4038, allocations: 0 / 0.8232 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4038, allocations: 1.219 kB / 0.8232 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.4038, allocations: 1.078 kB / 0.8232 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.404, allocations: 308.3 kB / 0.8235 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.404, allocations: 0.75 kB / 0.8235 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.032e-05/0.4041, allocations: 10.48 kB / 0.8235 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4041, allocations: 5.438 kB / 0.8235 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.4041, allocations: 1.375 kB / 0.8235 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.4041, allocations: 4.984 kB / 0.8235 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4041, allocations: 0 / 0.8235 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.4042, allocations: 200.7 kB / 0.8237 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-06/0.4042, allocations: 5.609 kB / 0.8237 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.4043, allocations: 6.469 kB / 0.8237 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.351e-05/0.4043, allocations: 7.547 kB / 0.8237 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.4043, allocations: 5.516 kB / 0.8237 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.4044, allocations: 15.83 kB / 0.8238 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.083e-05/0.4044, allocations: 84.83 kB / 0.8238 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4044, allocations: 0 / 0.8238 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001591/0.4045, allocations: 12.5 kB / 0.8239 GB, free: 13.57 MB / 0.6198 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 9.377e-05/0.4046, allocations: 105.7 kB / 0.824 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000157/0.4048, allocations: 71.44 kB / 0.824 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.4048, allocations: 256 / 0.824 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.024e-05/0.4049, allocations: 41.03 kB / 0.8241 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.405, allocations: 10.33 kB / 0.8241 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.4053, allocations: 163.6 kB / 0.8242 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.265e-05/0.4053, allocations: 69.84 kB / 0.8243 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.4054, allocations: 15.31 kB / 0.8243 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.4054, allocations: 0 / 0.8243 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of Templates: time 0.001799/0.4072, allocations: 0.9265 MB / 0.8252 GB, free: 13.13 MB / 0.6198 GB " [Timeout remaining time 660] 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: 5.200244163628668] Failed to read output from testmodel.py, exit status != 0: 0.4122378150932491 0.42099515899999995 0.018245672 Calling exit ...