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.0007575/0.0007575, allocations: 80.44 kB / 19.91 MB, free: 4 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.0007588/0.0007588, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.9041/0.9041, allocations: 177.2 MB / 203.6 MB, free: 5.766 MB / 186.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.7464/0.7464, allocations: 154.7 MB / 414.7 MB, free: 0.7578 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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.001007/0.001007, allocations: 63.91 kB / 0.6195 GB, free: 13.15 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5592/0.5602, allocations: 101.9 MB / 0.7191 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001492/0.5617, allocations: 0.6591 MB / 0.7197 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.5628, allocations: 1.092 MB / 0.7208 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.168e-05/0.5629, allocations: 1.031 kB / 0.7208 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.51e-05/0.5629, allocations: 4.453 kB / 0.7208 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.429e-05/0.563, allocations: 14.41 kB / 0.7208 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.5633, allocations: 43.92 kB / 0.7208 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.5634, allocations: 55.28 kB / 0.7209 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.5635, allocations: 17.59 kB / 0.7209 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.794e-05/0.5636, allocations: 32.16 kB / 0.7209 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.377e-05/0.5637, allocations: 21.95 kB / 0.721 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.5637, allocations: 2.312 kB / 0.721 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.439e-05/0.5638, allocations: 24.55 kB / 0.721 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.5638, allocations: 9.547 kB / 0.721 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.5638, allocations: 22.31 kB / 0.721 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.564, allocations: 74.19 kB / 0.7211 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.564, allocations: 0.6094 kB / 0.7211 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.136e-06/0.564, allocations: 1.469 kB / 0.7211 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.564, allocations: 0 / 0.7211 GB, free: 22.23 MB / 0.6355 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.0004762/0.5645, allocations: 294.6 kB / 0.7214 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.5645, allocations: 9 kB / 0.7214 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.915e-05/0.5646, allocations: 5.5 kB / 0.7214 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.002e-05/0.5647, allocations: 113.3 kB / 0.7215 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.5647, allocations: 15.22 kB / 0.7215 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.5647, allocations: 4.688 kB / 0.7215 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.5649, allocations: 67.38 kB / 0.7216 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.5649, allocations: 192 / 0.7216 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.5649, allocations: 5.188 kB / 0.7216 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.5649, allocations: 0.7812 kB / 0.7216 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.565, allocations: 42.64 kB / 0.7216 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.5653, allocations: 222.8 kB / 0.7218 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.5655, allocations: 51.52 kB / 0.7219 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.143e-05/0.5655, allocations: 44.28 kB / 0.7219 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.5656, allocations: 1.219 kB / 0.7219 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.5657, allocations: 75.56 kB / 0.722 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.5657, allocations: 1.156 kB / 0.722 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002992/0.566, allocations: 128.6 kB / 0.7221 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.566, allocations: 52.92 kB / 0.7222 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.763e-05/0.5661, allocations: 105.8 kB / 0.7223 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.5661, allocations: 31.38 kB / 0.7223 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.862e-05/0.5661, allocations: 86.34 kB / 0.7224 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.5662, allocations: 23.5 kB / 0.7224 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.5662, allocations: 23.52 kB / 0.7224 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.004e-05/0.5662, allocations: 318.9 kB / 0.7227 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.629e-05/0.5663, allocations: 26.03 kB / 0.7228 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.29e-05/0.5664, allocations: 70.16 kB / 0.7228 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.5665, allocations: 90.36 kB / 0.7229 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.5665, allocations: 1.062 kB / 0.7229 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000185/0.5667, allocations: 118.1 kB / 0.723 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.5667, allocations: 6.281 kB / 0.723 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.5667, allocations: 1.062 kB / 0.723 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.5667, allocations: 1.094 kB / 0.723 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.126e-05/0.5668, allocations: 21.05 kB / 0.7231 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.5669, allocations: 2.25 kB / 0.7231 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.956e-05/0.5669, allocations: 12.75 kB / 0.7231 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.5669, allocations: 2.25 kB / 0.7231 GB, free: 20.53 MB / 0.6355 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 5.694e-05/0.567, allocations: 125 kB / 0.7232 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-06/0.567, allocations: 6.344 kB / 0.7232 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.5672, allocations: 108.5 kB / 0.7233 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.5672, allocations: 0.7969 kB / 0.7233 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5672, allocations: 1.312 kB / 0.7233 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.5672, allocations: 13.66 kB / 0.7233 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.5672, allocations: 1.766 kB / 0.7233 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.516e-05/0.5672, allocations: 9.766 kB / 0.7233 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.5673, allocations: 9.562 kB / 0.7233 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001755/0.5674, allocations: 189.2 kB / 0.7235 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001656/0.5676, allocations: 271.7 kB / 0.7238 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.265e-05/0.5677, allocations: 30.72 kB / 0.7238 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.292e-05/0.5677, allocations: 85.06 kB / 0.7239 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of Backend: time 1.2e-07/0.5677, allocations: 0.9688 kB / 0.7239 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003941/0.5681, allocations: 132.1 kB / 0.724 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of SimCode: time 0.000392/0.5685, allocations: 0.5962 MB / 0.7246 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.003149/0.5716, allocations: 1.067 MB / 0.7256 GB, free: 19.08 MB / 0.6355 GB " [Timeout remaining time 659] 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: 4.4120219349861145] Failed to read output from testmodel.py, exit status != 0: 0.5773769558873028 0.587647951 0.020806736000000003 Calling exit ...