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.0008608/0.0008608, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001071/0.001071, allocations: 173.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.8728/0.8728, allocations: 177.1 MB / 203.5 MB, free: 5.441 MB / 186.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.6821/0.6821, allocations: 154.6 MB / 414.5 MB, free: 0.7773 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.135e-05, allocations: 3.5 kB / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001114/0.001135, allocations: 0.6537 MB / 0.6199 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009144/0.002049, allocations: 1.085 MB / 0.621 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.795e-05/0.002087, allocations: 4 kB / 0.621 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.452e-05/0.002112, allocations: 7.938 kB / 0.621 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.75e-05/0.002169, allocations: 7.875 kB / 0.621 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.002404, allocations: 39.83 kB / 0.621 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.149e-05/0.002485, allocations: 51.84 kB / 0.6211 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.99e-05/0.002565, allocations: 3.984 kB / 0.6211 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.896e-05/0.002634, allocations: 31.92 kB / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.733e-05/0.002672, allocations: 15.91 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.002685, allocations: 4 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.546e-05/0.002741, allocations: 31.91 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.002762, allocations: 4 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.002789, allocations: 19.92 kB / 0.6212 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.002896, allocations: 59.84 kB / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.402e-06/0.002897, allocations: 4 kB / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.32e-07/0.002898, allocations: 0 / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.002901, allocations: 0 / 0.6212 GB, free: 11.22 MB / 0.5886 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.0003342/0.003235, allocations: 290.1 kB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.003266, allocations: 9.469 kB / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.444e-05/0.00332, allocations: 8.891 kB / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.195e-05/0.003382, allocations: 109.8 kB / 0.6216 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.003392, allocations: 8.312 kB / 0.6216 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.003403, allocations: 8.375 kB / 0.6216 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.003517, allocations: 66.17 kB / 0.6217 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.003523, allocations: 192 / 0.6217 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.003532, allocations: 4.359 kB / 0.6217 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.003536, allocations: 384 / 0.6217 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.969e-05/0.003625, allocations: 43.89 kB / 0.6218 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.003924, allocations: 224.5 kB / 0.622 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.254e-05/0.004017, allocations: 58.48 kB / 0.622 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.512e-05/0.004062, allocations: 24.97 kB / 0.622 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.004077, allocations: 4 kB / 0.622 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/0.004183, allocations: 75.31 kB / 0.6221 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.004183, allocations: 0 / 0.6221 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0002239/0.004407, allocations: 121.6 kB / 0.6222 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.004436, allocations: 55.41 kB / 0.6223 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.648e-05/0.004492, allocations: 113.7 kB / 0.6224 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.004506, allocations: 29.7 kB / 0.6224 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.004538, allocations: 88.2 kB / 0.6225 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.004554, allocations: 15.91 kB / 0.6225 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.004585, allocations: 25.7 kB / 0.6225 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.359e-05/0.004658, allocations: 314.8 kB / 0.6228 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.292e-05/0.004711, allocations: 27.97 kB / 0.6229 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.081e-05/0.004772, allocations: 64.27 kB / 0.6229 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.004878, allocations: 80.2 kB / 0.623 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.00488, allocations: 0 / 0.623 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000139/0.005019, allocations: 117.5 kB / 0.6231 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.005031, allocations: 10.59 kB / 0.6231 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.005035, allocations: 0 / 0.6231 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.005046, allocations: 4 kB / 0.6231 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.048e-05/0.005106, allocations: 16.23 kB / 0.6232 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.005111, allocations: 3.938 kB / 0.6232 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.228e-05/0.005143, allocations: 15.94 kB / 0.6232 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.005152, allocations: 12.09 kB / 0.6232 GB, free: 9.008 MB / 0.5886 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.666e-05/0.005209, allocations: 122.8 kB / 0.6233 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-06/0.005217, allocations: 7.938 kB / 0.6233 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.005361, allocations: 98.08 kB / 0.6234 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.005363, allocations: 192 / 0.6234 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.005367, allocations: 3.938 kB / 0.6234 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.005371, allocations: 7.922 kB / 0.6234 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.005594, allocations: 298.1 kB / 0.6237 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.005595, allocations: 0 / 0.6237 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/0.005621, allocations: 11.98 kB / 0.6237 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.005623, allocations: 0 / 0.6237 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.005631, allocations: 0 / 0.6237 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.005632, allocations: 0 / 0.6237 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.005634, allocations: 3.938 kB / 0.6237 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.005769, allocations: 195.4 kB / 0.6239 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-06/0.005775, allocations: 3.953 kB / 0.6239 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.005786, allocations: 8 kB / 0.6239 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.758e-05/0.005824, allocations: 7.984 kB / 0.6239 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.00585, allocations: 0 / 0.6239 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.005856, allocations: 8 kB / 0.6239 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.837e-05/0.005885, allocations: 83.27 kB / 0.624 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005885, allocations: 0 / 0.624 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001559/0.006041, allocations: 16 kB / 0.624 GB, free: 8.078 MB / 0.5886 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 8.676e-05/0.006127, allocations: 99.19 kB / 0.6241 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001354/0.006263, allocations: 72.06 kB / 0.6242 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.006264, allocations: 0 / 0.6242 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.578e-05/0.00632, allocations: 35.92 kB / 0.6242 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.006481, allocations: 12.47 kB / 0.6242 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002363/0.006718, allocations: 150.7 kB / 0.6244 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.332e-05/0.006761, allocations: 75.64 kB / 0.6244 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.00678, allocations: 8.5 kB / 0.6245 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of SimCode: time 5.1e-07/0.006781, allocations: 0 / 0.6245 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of Templates: time 0.001468/0.008249, allocations: 0.9041 MB / 0.6253 GB, free: 6.676 MB / 0.5886 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: 4.841761101037264] Failed to read output from testmodel.py, exit status != 0: 0.012131338939070702 0.020422414 0.015581523000000002 Calling exit ...