Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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.0007178/0.0007178, allocations: 96.36 kB / 19.7 MB, free: 452 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.0007022/0.0007022, allocations: 207.2 kB / 22.99 MB, free: 2.984 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.8693/0.8693, allocations: 230.6 MB / 256.8 MB, free: 9.582 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.7103/0.7103, allocations: 203.8 MB / 0.5049 GB, free: 10.44 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.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [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.0008765/0.0008765, allocations: 67.72 kB / 0.7194 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4259, allocations: 102 MB / 0.819 GB, free: 1.309 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001208/0.4271, allocations: 0.6454 MB / 0.8196 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007998/0.4279, allocations: 1.097 MB / 0.8207 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.655e-05/0.4279, allocations: 0 / 0.8207 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.428, allocations: 7.875 kB / 0.8207 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.101e-05/0.428, allocations: 8.297 kB / 0.8207 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.4282, allocations: 40.7 kB / 0.8208 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.592e-05/0.4283, allocations: 45 kB / 0.8208 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.72e-05/0.4284, allocations: 9.922 kB / 0.8208 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.318e-05/0.4284, allocations: 17.41 kB / 0.8208 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.873e-05/0.4285, allocations: 24.67 kB / 0.8208 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.4285, allocations: 7.969 kB / 0.8209 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.19e-05/0.4285, allocations: 24.55 kB / 0.8209 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.4285, allocations: 9.953 kB / 0.8209 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.794e-05/0.4286, allocations: 15.2 kB / 0.8209 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.4287, allocations: 66.58 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.4287, allocations: 0 / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4287, allocations: 0 / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.4287, allocations: 0 / 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003365/0.4291, allocations: 290.3 kB / 0.8212 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.4291, allocations: 9.062 kB / 0.8212 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.263e-05/0.4291, allocations: 11.17 kB / 0.8213 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.635e-05/0.4292, allocations: 111.3 kB / 0.8214 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.4292, allocations: 4.375 kB / 0.8214 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-06/0.4292, allocations: 6.875 kB / 0.8214 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.4294, allocations: 66.92 kB / 0.8214 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.4294, allocations: 192 / 0.8214 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.4294, allocations: 3.938 kB / 0.8214 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.4294, allocations: 5.766 kB / 0.8215 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.737e-05/0.4295, allocations: 41.33 kB / 0.8215 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.4298, allocations: 231 kB / 0.8217 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.739e-05/0.4299, allocations: 51.52 kB / 0.8218 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.916e-05/0.4299, allocations: 32.42 kB / 0.8218 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.43, allocations: 0 / 0.8218 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001181/0.4301, allocations: 77.59 kB / 0.8219 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 7.62e-07/0.4301, allocations: 0 / 0.8219 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.000236/0.4303, allocations: 115.2 kB / 0.822 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.4303, allocations: 53.44 kB / 0.822 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.662e-05/0.4304, allocations: 111 kB / 0.8221 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.4304, allocations: 25.7 kB / 0.8222 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.4304, allocations: 94.98 kB / 0.8222 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.4305, allocations: 16.45 kB / 0.8223 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.4305, allocations: 26.56 kB / 0.8223 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.534e-05/0.4306, allocations: 315.4 kB / 0.8226 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.172e-05/0.4306, allocations: 28.81 kB / 0.8226 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.409e-05/0.4307, allocations: 61.34 kB / 0.8227 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.4308, allocations: 93.36 kB / 0.8228 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4308, allocations: 4 kB / 0.8228 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001423/0.4309, allocations: 109.3 kB / 0.8229 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.4309, allocations: 8.812 kB / 0.8229 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.431, allocations: 2.5 kB / 0.8229 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.431, allocations: 1.406 kB / 0.8229 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.417e-05/0.431, allocations: 16.56 kB / 0.8229 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.431, allocations: 9.016 kB / 0.8229 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.521e-05/0.4311, allocations: 16.05 kB / 0.8229 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.4311, allocations: 2.844 kB / 0.8229 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 (unitDelay1.u_internal,$PRE.unitDelay1.u_internal,unitDelay1.y,$PRE.unitDelay1.y,unitDelay1.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.586e-05/0.4311, allocations: 127.4 kB / 0.823 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-06/0.4311, allocations: 4.422 kB / 0.8231 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.4313, allocations: 103.2 kB / 0.8231 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.4313, allocations: 3.938 kB / 0.8232 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4313, allocations: 0 / 0.8232 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4313, allocations: 4 kB / 0.8232 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.4317, allocations: 299.9 kB / 0.8234 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4317, allocations: 1 kB / 0.8234 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-05/0.4317, allocations: 8.797 kB / 0.8235 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4317, allocations: 0 / 0.8235 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.4317, allocations: 1.469 kB / 0.8235 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4317, allocations: 0 / 0.8235 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4317, allocations: 0 / 0.8235 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.4319, allocations: 200.7 kB / 0.8236 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-06/0.4319, allocations: 10.59 kB / 0.8237 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.4319, allocations: 4.844 kB / 0.8237 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.881e-05/0.4319, allocations: 10.89 kB / 0.8237 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.4319, allocations: 4.531 kB / 0.8237 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.4319, allocations: 1.75 kB / 0.8237 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.767e-05/0.432, allocations: 87.44 kB / 0.8238 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.432, allocations: 0 / 0.8238 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001554/0.4321, allocations: 10.92 kB / 0.8238 GB, free: 13.59 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 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y,unitDelay1.u_internal) * Number of discrete states: 1 (unitDelay1.u_internal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.000105/0.4322, allocations: 109.5 kB / 0.8239 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.4324, allocations: 66.81 kB / 0.8239 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.4324, allocations: 3.938 kB / 0.8239 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.19e-05/0.4325, allocations: 31.8 kB / 0.824 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.4326, allocations: 10.7 kB / 0.824 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002524/0.4329, allocations: 167.5 kB / 0.8241 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.287e-05/0.4329, allocations: 69.58 kB / 0.8242 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/0.4329, allocations: 11.59 kB / 0.8242 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.4329, allocations: 0 / 0.8242 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of Templates: time 0.001738/0.4347, allocations: 0.8862 MB / 0.8251 GB, free: 13.16 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.085811425931752] Failed to read output from testmodel.py, exit status != 0: 0.4397005788050592 0.448468919 0.017472838 Calling exit ...