Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.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.0008119/0.0008119, 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.0008461/0.0008461, 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.8958/0.8958, allocations: 230.6 MB / 256.8 MB, free: 9.582 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.7617/0.7617, allocations: 203.5 MB / 0.5046 GB, free: 10.7 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.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") [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.0009473/0.0009473, allocations: 62.66 kB / 0.719 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.4404, allocations: 102 MB / 0.8186 GB, free: 1.496 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001259/0.4417, allocations: 0.6434 MB / 0.8192 GB, free: 1.102 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008411/0.4425, allocations: 1.078 MB / 0.8203 GB, free: 328 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/0.4426, allocations: 6.219 kB / 0.8203 GB, free: 324 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.148e-05/0.4426, allocations: 4.641 kB / 0.8203 GB, free: 320 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.562e-05/0.4426, allocations: 4.453 kB / 0.8203 GB, free: 316 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.4429, allocations: 50.14 kB / 0.8203 GB, free: 288 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.606e-05/0.443, allocations: 42.62 kB / 0.8204 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.691e-05/0.4431, allocations: 14.05 kB / 0.8204 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.135e-05/0.4431, allocations: 18.75 kB / 0.8204 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.343e-05/0.4432, allocations: 23.33 kB / 0.8204 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.4432, allocations: 3.875 kB / 0.8204 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.533e-05/0.4432, allocations: 21.23 kB / 0.8205 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.4433, allocations: 10.39 kB / 0.8205 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.4433, allocations: 16.19 kB / 0.8205 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.4434, allocations: 68.2 kB / 0.8205 GB, free: 192 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4434, allocations: 0 / 0.8205 GB, free: 192 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4434, allocations: 0 / 0.8205 GB, free: 192 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.4434, allocations: 0 / 0.8205 GB, free: 192 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004563/0.4439, allocations: 293.4 kB / 0.8208 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.4439, allocations: 11.25 kB / 0.8208 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.028e-05/0.444, allocations: 4.312 kB / 0.8208 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.17e-05/0.4441, allocations: 116.6 kB / 0.821 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.4441, allocations: 4.719 kB / 0.821 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.4441, allocations: 7.5 kB / 0.821 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.4443, allocations: 62.02 kB / 0.821 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.4443, allocations: 4.125 kB / 0.821 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.4443, allocations: 12.62 kB / 0.821 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4443, allocations: 0 / 0.821 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.4444, allocations: 39.69 kB / 0.8211 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003287/0.4447, allocations: 219.2 kB / 0.8213 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.4448, allocations: 50.48 kB / 0.8213 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.81e-05/0.4449, allocations: 45.53 kB / 0.8214 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.4449, allocations: 0.6094 kB / 0.8214 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.4451, allocations: 72.89 kB / 0.8214 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.4451, allocations: 0 / 0.8214 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0002803/0.4453, allocations: 123.6 kB / 0.8216 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.4454, allocations: 51.41 kB / 0.8216 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.237e-05/0.4454, allocations: 105.4 kB / 0.8217 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.4455, allocations: 29.64 kB / 0.8217 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.4455, allocations: 88.33 kB / 0.8218 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.4455, allocations: 18.72 kB / 0.8218 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.4455, allocations: 21.94 kB / 0.8219 GB, free: 15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.384e-05/0.4456, allocations: 314.8 kB / 0.8222 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.575e-05/0.4457, allocations: 30.55 kB / 0.8222 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.544e-05/0.4457, allocations: 55.55 kB / 0.8222 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.4459, allocations: 78.06 kB / 0.8223 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4459, allocations: 0 / 0.8223 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001538/0.446, allocations: 111.3 kB / 0.8224 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.446, allocations: 5.625 kB / 0.8224 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.446, allocations: 1.594 kB / 0.8224 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.446, allocations: 2.078 kB / 0.8224 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.29e-05/0.4461, allocations: 16.59 kB / 0.8225 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.4461, allocations: 1.156 kB / 0.8225 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.416e-05/0.4462, allocations: 11.78 kB / 0.8225 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.4462, allocations: 2.625 kB / 0.8225 GB, free: 14.52 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.337e-05/0.4462, allocations: 126.1 kB / 0.8226 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.4462, allocations: 4.562 kB / 0.8226 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.4464, allocations: 101.9 kB / 0.8227 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.4464, allocations: 3.938 kB / 0.8227 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4464, allocations: 0.5625 kB / 0.8227 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4464, allocations: 3.344 kB / 0.8227 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.4467, allocations: 291.2 kB / 0.823 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4467, allocations: 4 kB / 0.823 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.237e-05/0.4467, allocations: 12.5 kB / 0.823 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.4467, allocations: 0 / 0.823 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.4467, allocations: 4.609 kB / 0.823 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4467, allocations: 0.7031 kB / 0.823 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4467, allocations: 3.938 kB / 0.823 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.4469, allocations: 188.8 kB / 0.8232 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-06/0.4469, allocations: 11.72 kB / 0.8232 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.4469, allocations: 0.7031 kB / 0.8232 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.805e-05/0.447, allocations: 16.84 kB / 0.8232 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/0.447, allocations: 8.797 kB / 0.8232 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.447, allocations: 1.344 kB / 0.8232 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.061e-05/0.447, allocations: 85.41 kB / 0.8233 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.447, allocations: 0.9062 kB / 0.8233 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001622/0.4472, allocations: 14.03 kB / 0.8233 GB, free: 13.83 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 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001071/0.4473, allocations: 100.8 kB / 0.8234 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001615/0.4475, allocations: 73.22 kB / 0.8235 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4475, allocations: 0 / 0.8235 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.795e-05/0.4475, allocations: 32.83 kB / 0.8235 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.4477, allocations: 12.48 kB / 0.8235 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002862/0.448, allocations: 162.4 kB / 0.8237 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.554e-05/0.448, allocations: 65.72 kB / 0.8237 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.4481, allocations: 14.34 kB / 0.8238 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.4481, allocations: 0 / 0.8238 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.001972/0.45, allocations: 0.8763 MB / 0.8246 GB, free: 13.39 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.546864900738001] Failed to read output from testmodel.py, exit status != 0: 0.4556700033135712 0.465360775 0.020003326000000002 Calling exit ...