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.001086/0.001086, allocations: 93.06 kB / 19.65 MB, free: 280 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.001071/0.001071, allocations: 169 kB / 23.02 MB, free: 1.555 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.9831/0.9831, allocations: 177.1 MB / 203.4 MB, free: 5.672 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-535:34: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-535:42: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.8672/0.8672, allocations: 154.8 MB / 414.7 MB, free: 492 kB / 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: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.5205 GB, free: 2 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.369e-05/1.507e-05, allocations: 2.312 kB / 0.5205 GB, free: 1.996 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001167/0.001182, allocations: 0.6729 MB / 0.5212 GB, free: 1.348 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.002545, allocations: 1.128 MB / 0.5223 GB, free: 212 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.705e-05/0.002592, allocations: 4 kB / 0.5223 GB, free: 208 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.002624, allocations: 5.375 kB / 0.5223 GB, free: 204 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.453e-05/0.002698, allocations: 3.984 kB / 0.5223 GB, free: 200 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.003009, allocations: 47.72 kB / 0.5224 GB, free: 152 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.541e-05/0.003094, allocations: 56.33 kB / 0.5224 GB, free: 96 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.031e-05/0.003184, allocations: 9.031 kB / 0.5224 GB, free: 88 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.35e-05/0.003258, allocations: 27.97 kB / 0.5224 GB, free: 60 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.658e-05/0.003305, allocations: 19.91 kB / 0.5225 GB, free: 40 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.003321, allocations: 5.219 kB / 0.5225 GB, free: 36 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.339e-05/0.003384, allocations: 23.92 kB / 0.5225 GB, free: 12 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.003407, allocations: 11.98 kB / 0.5225 GB, free: 0 / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.00345, allocations: 20.67 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.003579, allocations: 47.86 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.003581, allocations: 5.625 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.71e-07/0.003582, allocations: 0 / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.003586, allocations: 0 / 0.5226 GB, free: 15.93 MB / 0.4948 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.0004712/0.004057, allocations: 393.4 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.004094, allocations: 8.031 kB / 0.523 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.004199, allocations: 17.73 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.136e-05/0.004291, allocations: 108.6 kB / 0.5231 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.004305, allocations: 8.375 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.004319, allocations: 5.562 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.004448, allocations: 62.94 kB / 0.5232 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.00446, allocations: 192 / 0.5232 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.004471, allocations: 5.172 kB / 0.5232 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.00448, allocations: 384 / 0.5232 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.045e-05/0.00452, allocations: 12.47 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.004872, allocations: 272.6 kB / 0.5234 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.382e-05/0.004956, allocations: 51.61 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.67e-05/0.004983, allocations: 15.81 kB / 0.5235 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.005006, allocations: 4.484 kB / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.192e-05/0.005088, allocations: 69.83 kB / 0.5236 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.005089, allocations: 0 / 0.5236 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001789/0.005268, allocations: 80.64 kB / 0.5236 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.005304, allocations: 51.41 kB / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.429e-05/0.005388, allocations: 169.9 kB / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.0054, allocations: 25.7 kB / 0.5239 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.005449, allocations: 138.8 kB / 0.524 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.00547, allocations: 23.95 kB / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.005504, allocations: 23.38 kB / 0.5241 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.005611, allocations: 0.4923 MB / 0.5245 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.157e-05/0.005633, allocations: 5 kB / 0.5245 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.561e-05/0.005678, allocations: 58.42 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.382e-05/0.005752, allocations: 72.59 kB / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.005755, allocations: 4 kB / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001068/0.005862, allocations: 87.12 kB / 0.5248 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.005875, allocations: 7.938 kB / 0.5248 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.005882, allocations: 4 kB / 0.5248 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.005899, allocations: 0.9688 kB / 0.5248 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.234e-05/0.005971, allocations: 19.92 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.005977, allocations: 6.062 kB / 0.5248 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.991e-05/0.006007, allocations: 8 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.006016, allocations: 7.984 kB / 0.5248 GB, free: 13.41 MB / 0.4948 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.732e-05/0.006084, allocations: 164.5 kB / 0.525 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.006095, allocations: 11.89 kB / 0.525 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.006209, allocations: 74.83 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.006212, allocations: 4.031 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.006216, allocations: 5.344 kB / 0.5251 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.00622, allocations: 0 / 0.5251 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.006428, allocations: 325.3 kB / 0.5254 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.006429, allocations: 0 / 0.5254 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.819e-05/0.006457, allocations: 10.73 kB / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.006459, allocations: 0 / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.006467, allocations: 8 kB / 0.5254 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.006468, allocations: 0 / 0.5254 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006469, allocations: 0 / 0.5254 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.006581, allocations: 219.8 kB / 0.5256 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-06/0.006586, allocations: 4 kB / 0.5256 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.006601, allocations: 2.312 kB / 0.5256 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.205e-05/0.006643, allocations: 7.984 kB / 0.5256 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.006678, allocations: 11.94 kB / 0.5256 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.006688, allocations: 0 / 0.5256 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.387e-05/0.006731, allocations: 127.2 kB / 0.5257 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006731, allocations: 4 kB / 0.5257 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001681/0.0069, allocations: 12.75 kB / 0.5258 GB, free: 12.36 MB / 0.4948 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.0001054/0.007005, allocations: 100.2 kB / 0.5258 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.007113, allocations: 48.23 kB / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.007114, allocations: 0 / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.53e-05/0.007149, allocations: 31.11 kB / 0.5259 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.007336, allocations: 12.06 kB / 0.5259 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000433/0.007769, allocations: 154.1 kB / 0.5261 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.644e-05/0.007805, allocations: 60.89 kB / 0.5261 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.336e-05/0.007829, allocations: 14.84 kB / 0.5262 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.007853, allocations: 12.5 kB / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of SimCode: time 6.92e-07/0.007854, allocations: 0 / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of Templates: time 0.002646/0.0105, allocations: 0.8762 MB / 0.527 GB, free: 11.05 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9206829690374434]