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.0007397/0.0007397, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007346/0.0007346, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8602/0.8602, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.6748/0.6748, allocations: 154.6 MB / 414.5 MB, free: 0.8242 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.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: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 3.938 kB / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.117e-05, allocations: 4.156 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001102/0.001123, allocations: 0.6457 MB / 0.6199 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009519/0.002075, allocations: 1.089 MB / 0.621 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.002116, allocations: 3.938 kB / 0.621 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.002142, allocations: 7.938 kB / 0.621 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.565e-05/0.002198, allocations: 11.92 kB / 0.621 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.002463, allocations: 47.77 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.047e-05/0.002543, allocations: 43.84 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.111e-05/0.002624, allocations: 8 kB / 0.6211 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.825e-05/0.002693, allocations: 27.97 kB / 0.6211 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.913e-05/0.002732, allocations: 19.91 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.002746, allocations: 4 kB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.542e-05/0.002801, allocations: 23.86 kB / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.002821, allocations: 11.98 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.002847, allocations: 15.98 kB / 0.6212 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.002971, allocations: 67.77 kB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.634e-06/0.002972, allocations: 0 / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.02e-07/0.002973, allocations: 4 kB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.002977, allocations: 0 / 0.6213 GB, free: 11.12 MB / 0.5886 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.0004025/0.003379, allocations: 282.3 kB / 0.6216 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.003412, allocations: 8.031 kB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.003475, allocations: 4.938 kB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.967e-05/0.003545, allocations: 121.7 kB / 0.6217 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.003555, allocations: 4.375 kB / 0.6217 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.003565, allocations: 8.375 kB / 0.6217 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.003695, allocations: 58.17 kB / 0.6218 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.003704, allocations: 8.172 kB / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.003713, allocations: 4.375 kB / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.003718, allocations: 4.312 kB / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.28e-05/0.00381, allocations: 39.91 kB / 0.6218 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002922/0.004103, allocations: 216.5 kB / 0.622 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.644e-05/0.004199, allocations: 50.55 kB / 0.6221 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.137e-05/0.00425, allocations: 36.89 kB / 0.6221 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.004268, allocations: 0 / 0.6221 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/0.004383, allocations: 75.31 kB / 0.6222 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.004384, allocations: 0 / 0.6222 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0002408/0.004625, allocations: 121.6 kB / 0.6223 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.004657, allocations: 59.39 kB / 0.6223 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.442e-05/0.004711, allocations: 105.8 kB / 0.6224 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.004722, allocations: 25.7 kB / 0.6225 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/0.004754, allocations: 88.12 kB / 0.6225 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.004771, allocations: 19.84 kB / 0.6226 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.004801, allocations: 21.72 kB / 0.6226 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.004873, allocations: 318.8 kB / 0.6229 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.643e-05/0.004919, allocations: 19.98 kB / 0.6229 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.797e-05/0.004977, allocations: 59.34 kB / 0.623 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.00508, allocations: 83.31 kB / 0.623 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.005082, allocations: 0 / 0.623 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001346/0.005217, allocations: 109.6 kB / 0.6232 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.00523, allocations: 10.12 kB / 0.6232 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.005236, allocations: 4 kB / 0.6232 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.005247, allocations: 0 / 0.6232 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.499e-05/0.005312, allocations: 15.92 kB / 0.6232 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.005317, allocations: 4 kB / 0.6232 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.136e-05/0.005348, allocations: 12.48 kB / 0.6232 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.005355, allocations: 4 kB / 0.6232 GB, free: 8.961 MB / 0.5886 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.293e-05/0.005418, allocations: 114.8 kB / 0.6233 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-06/0.005428, allocations: 11.89 kB / 0.6233 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.005579, allocations: 106.1 kB / 0.6234 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.005581, allocations: 0 / 0.6234 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.005585, allocations: 0 / 0.6234 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.005589, allocations: 7.938 kB / 0.6234 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.005822, allocations: 294.2 kB / 0.6237 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.005823, allocations: 0 / 0.6237 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.667e-05/0.00585, allocations: 15.94 kB / 0.6237 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.005852, allocations: 0 / 0.6237 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.00586, allocations: 3.984 kB / 0.6237 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.005861, allocations: 0 / 0.6237 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.005862, allocations: 0 / 0.6237 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.006004, allocations: 199.3 kB / 0.6239 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-06/0.006011, allocations: 3.984 kB / 0.6239 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.006022, allocations: 4 kB / 0.6239 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.62e-05/0.006068, allocations: 11.98 kB / 0.6239 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.006096, allocations: 4 kB / 0.6239 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.006107, allocations: 4 kB / 0.6239 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002315/0.006338, allocations: 87.27 kB / 0.624 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006338, allocations: 0 / 0.624 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001643/0.006503, allocations: 15.94 kB / 0.624 GB, free: 8.023 MB / 0.5886 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.0001011/0.006604, allocations: 95.25 kB / 0.6241 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001444/0.006748, allocations: 72.31 kB / 0.6242 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.006749, allocations: 0 / 0.6242 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.406e-05/0.006803, allocations: 27.92 kB / 0.6242 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.00698, allocations: 19.98 kB / 0.6243 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00025/0.00723, allocations: 154.6 kB / 0.6244 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.147e-05/0.007272, allocations: 71.33 kB / 0.6245 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.197e-05/0.007294, allocations: 12.5 kB / 0.6245 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of SimCode: time 2.6e-07/0.007294, allocations: 4.125 kB / 0.6245 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of Templates: time 0.001556/0.00885, allocations: 0.8758 MB / 0.6253 GB, free: 6.648 MB / 0.5886 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: 4.787229496985674] Failed to read output from testmodel.py, exit status != 0: 0.013463012874126434 0.021796366999999938 0.01684158199999994 Calling exit ...