Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.0007545/0.0007545, allocations: 80.53 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.0007864/0.0007864, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8506/0.8506, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.7078/0.7078, allocations: 154.6 MB / 414.5 MB, free: 0.8086 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.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.103e-06/1.103e-06, allocations: 0 / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.25e-05/1.361e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001101/0.001114, allocations: 0.7242 MB / 0.62 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.002148, allocations: 1.194 MB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.182e-05/0.00219, allocations: 4 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.305e-05/0.002213, allocations: 3.938 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.279e-05/0.002265, allocations: 15.84 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.002603, allocations: 146.2 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.002735, allocations: 123.7 kB / 0.6215 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.624e-05/0.002811, allocations: 20.17 kB / 0.6215 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.631e-05/0.002897, allocations: 63.94 kB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.524e-05/0.002963, allocations: 43.81 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.002982, allocations: 12 kB / 0.6216 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.389e-05/0.003036, allocations: 31.97 kB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.003054, allocations: 15.92 kB / 0.6216 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.003095, allocations: 31.97 kB / 0.6217 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.003257, allocations: 147.6 kB / 0.6218 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.003259, allocations: 0 / 0.6218 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.52e-07/0.00326, allocations: 4 kB / 0.6218 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.003264, allocations: 4 kB / 0.6218 GB, free: 10.6 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003985/0.003662, allocations: 343.7 kB / 0.6222 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.75e-05/0.00369, allocations: 12.03 kB / 0.6222 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.496e-05/0.003765, allocations: 12.89 kB / 0.6222 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.88e-05/0.003834, allocations: 117.4 kB / 0.6223 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.003848, allocations: 12.31 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.003863, allocations: 8.375 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.003991, allocations: 74.22 kB / 0.6224 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.003999, allocations: 12.16 kB / 0.6224 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.004007, allocations: 384 / 0.6224 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.004011, allocations: 4.125 kB / 0.6224 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.427e-05/0.004106, allocations: 51.89 kB / 0.6224 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003159/0.004422, allocations: 256.4 kB / 0.6227 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.004524, allocations: 54.55 kB / 0.6227 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.802e-05/0.004572, allocations: 36.91 kB / 0.6228 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.004587, allocations: 4 kB / 0.6228 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.004717, allocations: 91.34 kB / 0.6229 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.004718, allocations: 0 / 0.6229 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002526/0.00497, allocations: 153.5 kB / 0.623 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.004997, allocations: 51.41 kB / 0.6231 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.791e-05/0.005055, allocations: 121.8 kB / 0.6232 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.005072, allocations: 33.7 kB / 0.6232 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.005116, allocations: 100 kB / 0.6233 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.00513, allocations: 15.91 kB / 0.6233 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/0.005176, allocations: 37.64 kB / 0.6234 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.135e-05/0.005247, allocations: 322.8 kB / 0.6237 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.95e-05/0.005346, allocations: 81.66 kB / 0.6237 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.005454, allocations: 126.8 kB / 0.6239 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.005608, allocations: 146.8 kB / 0.624 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005609, allocations: 0 / 0.624 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002655/0.005875, allocations: 256.9 kB / 0.6242 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.005899, allocations: 33.7 kB / 0.6243 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.005904, allocations: 0 / 0.6243 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.005915, allocations: 4 kB / 0.6243 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.093e-05/0.005976, allocations: 19.92 kB / 0.6243 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.005981, allocations: 4 kB / 0.6243 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.849e-05/0.00608, allocations: 35.91 kB / 0.6243 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.006094, allocations: 11.98 kB / 0.6244 GB, free: 7.758 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.454e-05/0.006159, allocations: 126.8 kB / 0.6245 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-06/0.006166, allocations: 7.938 kB / 0.6245 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/0.006335, allocations: 126 kB / 0.6246 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.006339, allocations: 3.984 kB / 0.6246 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.006345, allocations: 8 kB / 0.6246 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.006348, allocations: 0 / 0.6246 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.006576, allocations: 318.1 kB / 0.6249 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.006577, allocations: 4 kB / 0.6249 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.867e-05/0.006606, allocations: 11.92 kB / 0.6249 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.006608, allocations: 0 / 0.6249 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.006615, allocations: 4 kB / 0.6249 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.006617, allocations: 3.984 kB / 0.6249 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.006618, allocations: 0 / 0.6249 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.006777, allocations: 215.4 kB / 0.6251 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-06/0.006782, allocations: 0 / 0.6251 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.006795, allocations: 15.94 kB / 0.6252 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.161e-05/0.006836, allocations: 7.984 kB / 0.6252 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.006862, allocations: 3.984 kB / 0.6252 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.006868, allocations: 4 kB / 0.6252 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.087e-05/0.006898, allocations: 91.27 kB / 0.6253 GB, free: 6.754 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006898, allocations: 0 / 0.6253 GB, free: 6.754 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001778/0.007076, allocations: 35.89 kB / 0.6253 GB, free: 6.719 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: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 9.431e-05/0.007171, allocations: 103.1 kB / 0.6254 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002274/0.007398, allocations: 205.5 kB / 0.6256 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.007399, allocations: 0 / 0.6256 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.974e-05/0.007459, allocations: 31.98 kB / 0.6256 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.007637, allocations: 22.3 kB / 0.6256 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002655/0.007903, allocations: 199.3 kB / 0.6258 GB, free: 6.113 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.429e-05/0.007947, allocations: 75.33 kB / 0.6259 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.007969, allocations: 16.5 kB / 0.6259 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.00797, allocations: 0 / 0.6259 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of Templates: time 0.001842/0.009812, allocations: 1.308 MB / 0.6272 GB, free: 4.715 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.867904192768037] Failed to read output from testmodel.py, exit status != 0: 0.013865371234714985 0.021220985 0.016478238000000003 Calling exit ...