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.001305/0.001305, allocations: 82.05 kB / 19.18 MB, free: 2.527 MB / 14.72 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.00141/0.00141, allocations: 165.3 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.487/1.487, allocations: 177.1 MB / 202.8 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] 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 1.228/1.228, allocations: 154.6 MB / 413.8 MB, free: 5.242 MB / 382.1 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 178] 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: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.6186 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.493e-05, allocations: 6.281 kB / 0.6186 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001918/0.001943, allocations: 0.6483 MB / 0.6192 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002152/0.004095, allocations: 1.104 MB / 0.6203 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/0.00416, allocations: 0 / 0.6203 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.23e-05/0.004202, allocations: 3.938 kB / 0.6203 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.386e-05/0.004286, allocations: 3.938 kB / 0.6203 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.004701, allocations: 55.7 kB / 0.6203 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.004851, allocations: 51.84 kB / 0.6204 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.004964, allocations: 7.984 kB / 0.6204 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.00508, allocations: 31.91 kB / 0.6204 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.269e-05/0.005142, allocations: 15.98 kB / 0.6204 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.005164, allocations: 8 kB / 0.6204 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.005267, allocations: 27.91 kB / 0.6205 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.357e-05/0.005301, allocations: 11.98 kB / 0.6205 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.005344, allocations: 11.94 kB / 0.6205 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.005541, allocations: 75.75 kB / 0.6206 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.005543, allocations: 0 / 0.6206 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.082e-06/0.005544, allocations: 0 / 0.6206 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.005549, allocations: 0 / 0.6206 GB, free: 2.543 MB / 0.5294 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.0007695/0.006319, allocations: 298.1 kB / 0.6209 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.006362, allocations: 12.03 kB / 0.6209 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.993e-05/0.006462, allocations: 4.938 kB / 0.6209 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.006592, allocations: 105.8 kB / 0.621 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.006605, allocations: 4.375 kB / 0.621 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.006627, allocations: 12.38 kB / 0.621 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.006869, allocations: 66.16 kB / 0.621 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.00688, allocations: 192 / 0.621 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.006896, allocations: 4.375 kB / 0.6211 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.006901, allocations: 4.312 kB / 0.6211 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/0.007104, allocations: 51.89 kB / 0.6211 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.007638, allocations: 216.5 kB / 0.6213 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.007822, allocations: 54.48 kB / 0.6214 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.007929, allocations: 32.95 kB / 0.6214 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.00795, allocations: 0 / 0.6214 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/0.008181, allocations: 83.31 kB / 0.6215 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.008183, allocations: 0 / 0.6215 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0004696/0.008652, allocations: 125.6 kB / 0.6216 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.008757, allocations: 55.34 kB / 0.6216 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.008857, allocations: 105.8 kB / 0.6217 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.008879, allocations: 29.7 kB / 0.6218 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.008941, allocations: 84.14 kB / 0.6219 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.008965, allocations: 15.86 kB / 0.6219 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.009014, allocations: 29.7 kB / 0.6219 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.009161, allocations: 314.8 kB / 0.6222 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.009273, allocations: 35.91 kB / 0.6222 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.009408, allocations: 52.27 kB / 0.6223 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.009638, allocations: 100.2 kB / 0.6224 GB, free: 496 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.009641, allocations: 0 / 0.6224 GB, free: 496 kB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003091/0.00995, allocations: 121.5 kB / 0.6225 GB, free: 368 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.009971, allocations: 7.938 kB / 0.6225 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.009977, allocations: 0 / 0.6225 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/0.01, allocations: 4 kB / 0.6225 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.01012, allocations: 15.98 kB / 0.6225 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.01013, allocations: 8.062 kB / 0.6225 GB, free: 332 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.972e-05/0.01021, allocations: 19.92 kB / 0.6226 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.01022, allocations: 0 / 0.6226 GB, free: 312 kB / 0.5294 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 0.0001161/0.01034, allocations: 118.8 kB / 0.6227 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.01035, allocations: 3.938 kB / 0.6227 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003519/0.0107, allocations: 110.1 kB / 0.6228 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01071, allocations: 0 / 0.6228 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.01071, allocations: 0 / 0.6228 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.01071, allocations: 0 / 0.6228 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004909/0.01121, allocations: 314 kB / 0.6231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01121, allocations: 0 / 0.6231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.473e-05/0.01127, allocations: 12.17 kB / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.01127, allocations: 256 / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.517e-06/0.01128, allocations: 3.938 kB / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.01129, allocations: 8 kB / 0.6231 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01129, allocations: 0 / 0.6231 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.01164, allocations: 203.8 kB / 0.6233 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.01165, allocations: 7.953 kB / 0.6233 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.01167, allocations: 0 / 0.6233 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.01189, allocations: 7.984 kB / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.01194, allocations: 7.984 kB / 0.6233 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.01196, allocations: 4 kB / 0.6233 GB, free: 15.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.065e-05/0.01201, allocations: 83.28 kB / 0.6234 GB, free: 15.37 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01201, allocations: 0 / 0.6234 GB, free: 15.37 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000245/0.01225, allocations: 19.88 kB / 0.6234 GB, free: 15.35 MB / 0.545 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.0001729/0.01243, allocations: 107.2 kB / 0.6235 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002768/0.0127, allocations: 67.89 kB / 0.6236 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.0127, allocations: 0 / 0.6236 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.01282, allocations: 31.98 kB / 0.6236 GB, free: 15.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.01309, allocations: 21.77 kB / 0.6236 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.01346, allocations: 149 kB / 0.6238 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.432e-05/0.01352, allocations: 63.34 kB / 0.6238 GB, free: 14.87 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.556e-05/0.01356, allocations: 11.73 kB / 0.6238 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.01359, allocations: 12.5 kB / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.01359, allocations: 0 / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of Templates: time 0.003975/0.01757, allocations: 0.8627 MB / 0.6247 GB, free: 14 MB / 0.545 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.892990902066231] Failed to read output from testmodel.py, exit status != 0: 0.026901837438344955 0.043290648 0.034451589000000005 Calling exit ...