Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008014/0.0008014, allocations: 96.38 kB / 19.7 MB, free: 448 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.001412/0.001412, allocations: 211.2 kB / 23 MB, free: 2.977 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.9202/0.9202, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7649/0.7649, allocations: 203.5 MB / 0.5046 GB, free: 10.69 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_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_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.0009594/0.0009594, allocations: 61.72 kB / 0.719 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4773/0.4783, allocations: 102 MB / 0.8186 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.00139/0.4797, allocations: 0.6522 MB / 0.8192 GB, free: 1.129 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009532/0.4806, allocations: 1.103 MB / 0.8203 GB, free: 336 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.4807, allocations: 1.25 kB / 0.8203 GB, free: 336 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.46e-05/0.4807, allocations: 4.594 kB / 0.8203 GB, free: 332 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.336e-05/0.4808, allocations: 5.844 kB / 0.8203 GB, free: 328 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.481, allocations: 52.42 kB / 0.8204 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.818e-05/0.4811, allocations: 47.08 kB / 0.8204 GB, free: 276 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.353e-05/0.4812, allocations: 14.73 kB / 0.8204 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.321e-05/0.4813, allocations: 22.28 kB / 0.8204 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.708e-05/0.4813, allocations: 25.81 kB / 0.8205 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.4814, allocations: 3.062 kB / 0.8205 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.981e-05/0.4814, allocations: 20.02 kB / 0.8205 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.4814, allocations: 8 kB / 0.8205 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.261e-05/0.4815, allocations: 24.03 kB / 0.8205 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.4816, allocations: 68.83 kB / 0.8206 GB, free: 196 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.4816, allocations: 0 / 0.8206 GB, free: 196 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.704e-06/0.4816, allocations: 0 / 0.8206 GB, free: 196 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.4816, allocations: 0 / 0.8206 GB, free: 196 kB / 0.6042 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.0004656/0.4821, allocations: 296.5 kB / 0.8209 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.4821, allocations: 9.562 kB / 0.8209 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.106e-05/0.4822, allocations: 9.453 kB / 0.8209 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.012e-05/0.4823, allocations: 114.9 kB / 0.821 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.4823, allocations: 6.344 kB / 0.821 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.4823, allocations: 2.812 kB / 0.821 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.4825, allocations: 64.36 kB / 0.8211 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4825, allocations: 7.812 kB / 0.8211 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.4825, allocations: 7.938 kB / 0.8211 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4825, allocations: 0 / 0.8211 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.4826, allocations: 44.41 kB / 0.8211 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.483, allocations: 212.1 kB / 0.8213 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.4831, allocations: 61.61 kB / 0.8214 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.579e-05/0.4832, allocations: 29.69 kB / 0.8214 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.4832, allocations: 6.781 kB / 0.8214 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.4834, allocations: 76.84 kB / 0.8215 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.4834, allocations: 0 / 0.8215 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002949/0.4836, allocations: 126.5 kB / 0.8216 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.4837, allocations: 58 kB / 0.8217 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.314e-05/0.4838, allocations: 111.7 kB / 0.8218 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.4838, allocations: 32.33 kB / 0.8218 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.4838, allocations: 89.55 kB / 0.8219 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.4838, allocations: 20.38 kB / 0.8219 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.4839, allocations: 24.67 kB / 0.8219 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.101e-05/0.484, allocations: 316.9 kB / 0.8222 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.552e-05/0.484, allocations: 26.58 kB / 0.8223 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.266e-05/0.4841, allocations: 57.38 kB / 0.8223 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.4842, allocations: 95.02 kB / 0.8224 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4842, allocations: 5.094 kB / 0.8224 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000166/0.4844, allocations: 114.7 kB / 0.8225 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.4844, allocations: 5.078 kB / 0.8225 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.4844, allocations: 3.844 kB / 0.8225 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.4844, allocations: 4.125 kB / 0.8225 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.18e-05/0.4845, allocations: 20.05 kB / 0.8225 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4845, allocations: 3.094 kB / 0.8225 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.814e-05/0.4846, allocations: 12.72 kB / 0.8226 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.4846, allocations: 7.5 kB / 0.8226 GB, free: 14.49 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.948e-05/0.4846, allocations: 124.6 kB / 0.8227 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-06/0.4846, allocations: 2.219 kB / 0.8227 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.4848, allocations: 117.9 kB / 0.8228 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.4848, allocations: 4 kB / 0.8228 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4848, allocations: 0.6094 kB / 0.8228 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.4848, allocations: 0 / 0.8228 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.4851, allocations: 303.3 kB / 0.8231 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.4851, allocations: 0 / 0.8231 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.815e-05/0.4852, allocations: 13.14 kB / 0.8231 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4852, allocations: 3.938 kB / 0.8231 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.4852, allocations: 4.812 kB / 0.8231 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.4852, allocations: 8.656 kB / 0.8231 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4852, allocations: 0 / 0.8231 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.4854, allocations: 195.4 kB / 0.8233 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.497e-06/0.4854, allocations: 9.328 kB / 0.8233 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.4854, allocations: 4.812 kB / 0.8233 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.954e-05/0.4854, allocations: 10.34 kB / 0.8233 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.4855, allocations: 1.312 kB / 0.8233 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.4855, allocations: 3.031 kB / 0.8233 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.068e-05/0.4855, allocations: 86.12 kB / 0.8234 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.4855, allocations: 7.938 kB / 0.8234 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001713/0.4857, allocations: 17.06 kB / 0.8234 GB, free: 13.78 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 0.0001207/0.4858, allocations: 104.7 kB / 0.8235 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001795/0.486, allocations: 72.48 kB / 0.8236 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.486, allocations: 0 / 0.8236 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.307e-05/0.486, allocations: 30.41 kB / 0.8236 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.4862, allocations: 17.86 kB / 0.8237 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.4865, allocations: 167 kB / 0.8238 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.328e-05/0.4866, allocations: 71.62 kB / 0.8239 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.4866, allocations: 15.16 kB / 0.8239 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.4866, allocations: 0 / 0.8239 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of Templates: time 0.002156/0.4888, allocations: 0.9251 MB / 0.8248 GB, free: 13.32 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.559980591759086] Failed to read output from testmodel.py, exit status != 0: 0.49553455598652363 0.510930695 0.026995210000000002 Calling exit ...