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.0007576/0.0007576, allocations: 84.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.0007713/0.0007713, allocations: 169.2 kB / 23.19 MB, free: 1.375 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.8889/0.8889, allocations: 177.2 MB / 203.6 MB, free: 5.77 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.725/0.725, allocations: 154.9 MB / 414.9 MB, free: 0.5195 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.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.001442/0.001442, allocations: 68.97 kB / 0.6198 GB, free: 12.8 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5183/0.5197, allocations: 102 MB / 0.7194 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001514/0.5213, allocations: 0.6528 MB / 0.7201 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.5225, allocations: 1.095 MB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.665e-05/0.5226, allocations: 0.8125 kB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.651e-05/0.5226, allocations: 5.516 kB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.185e-05/0.5227, allocations: 6.047 kB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.5231, allocations: 48.89 kB / 0.7212 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.5232, allocations: 42.16 kB / 0.7212 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.5233, allocations: 25.12 kB / 0.7212 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.5234, allocations: 32.66 kB / 0.7213 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/0.5234, allocations: 20.33 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.5235, allocations: 8.906 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.046e-05/0.5235, allocations: 24.44 kB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.773e-05/0.5236, allocations: 11.8 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.223e-05/0.5236, allocations: 20.22 kB / 0.7214 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.5238, allocations: 74 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5238, allocations: 0 / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.366e-06/0.5238, allocations: 0 / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.5238, allocations: 3.938 kB / 0.7214 GB, free: 22.11 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.0005074/0.5243, allocations: 299.7 kB / 0.7217 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.5244, allocations: 10.47 kB / 0.7217 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.127e-05/0.5245, allocations: 5.125 kB / 0.7217 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.883e-05/0.5245, allocations: 111.3 kB / 0.7218 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.5245, allocations: 5.562 kB / 0.7218 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.5246, allocations: 7.859 kB / 0.7219 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.5247, allocations: 64.58 kB / 0.7219 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.5247, allocations: 4.188 kB / 0.7219 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.5248, allocations: 8.781 kB / 0.7219 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.5248, allocations: 1.469 kB / 0.7219 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.5249, allocations: 42.62 kB / 0.722 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.5252, allocations: 218.1 kB / 0.7222 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.5254, allocations: 55.47 kB / 0.7222 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.335e-05/0.5254, allocations: 33.34 kB / 0.7223 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.5254, allocations: 5.594 kB / 0.7223 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002023/0.5256, allocations: 74.5 kB / 0.7223 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.736e-06/0.5257, allocations: 0 / 0.7223 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003226/0.526, allocations: 131.1 kB / 0.7225 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.526, allocations: 52.91 kB / 0.7225 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.847e-05/0.5261, allocations: 108.4 kB / 0.7226 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.5261, allocations: 26.95 kB / 0.7226 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.223e-05/0.5261, allocations: 90.97 kB / 0.7227 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.5261, allocations: 21.05 kB / 0.7228 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.5262, allocations: 26.33 kB / 0.7228 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.493e-05/0.5262, allocations: 314.3 kB / 0.7231 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.554e-05/0.5263, allocations: 28.55 kB / 0.7231 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.27e-05/0.5264, allocations: 60.17 kB / 0.7232 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.5265, allocations: 94.47 kB / 0.7233 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5265, allocations: 0.9062 kB / 0.7233 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001748/0.5267, allocations: 118.2 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.5267, allocations: 5.594 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.5267, allocations: 1.25 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.5267, allocations: 6.469 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.622e-05/0.5268, allocations: 20.69 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.5268, allocations: 0.9375 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.745e-05/0.5268, allocations: 12.45 kB / 0.7234 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.5269, allocations: 7.312 kB / 0.7234 GB, free: 20.42 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.544e-05/0.5269, allocations: 124.7 kB / 0.7235 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.5269, allocations: 7.125 kB / 0.7235 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.5271, allocations: 112.4 kB / 0.7237 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5271, allocations: 0.9375 kB / 0.7237 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5271, allocations: 0 / 0.7237 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.769e-06/0.5271, allocations: 6.453 kB / 0.7237 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.5272, allocations: 2.547 kB / 0.7237 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.617e-05/0.5272, allocations: 8.594 kB / 0.7237 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.5272, allocations: 8.297 kB / 0.7237 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001656/0.5274, allocations: 182.9 kB / 0.7239 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001696/0.5276, allocations: 287.7 kB / 0.7241 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.063e-05/0.5276, allocations: 31.19 kB / 0.7242 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.262e-05/0.5277, allocations: 90.31 kB / 0.7242 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of Backend: time 5.11e-07/0.5277, allocations: 0 / 0.7242 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003903/0.5281, allocations: 121.8 kB / 0.7244 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0004073/0.5285, allocations: 0.5925 MB / 0.7249 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of Templates: time 0.003222/0.5317, allocations: 1.058 MB / 0.726 GB, free: 18.98 MB / 0.6355 GB " [Timeout remaining time 659] 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: 4.243066371884197] Failed to read output from testmodel.py, exit status != 0: 0.5391208750661463 0.547203066 0.021511221 Calling exit ...