Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.0009769/0.0009769, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001157/0.001157, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.015/1.015, allocations: 177.1 MB / 203.8 MB, free: 5.492 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-545:108: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-545:116: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.811/0.811, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 480 MB, free: 6.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.864e-05, allocations: 8.641 kB / 480.1 MB, free: 6.922 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001315/0.001333, allocations: 0.7807 MB / 480.8 MB, free: 6.18 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.002335, allocations: 1.128 MB / 482 MB, free: 5.043 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/0.002376, allocations: 0 / 482 MB, free: 5.043 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.674e-05/0.002403, allocations: 9.203 kB / 482 MB, free: 5.035 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.851e-05/0.002471, allocations: 16.41 kB / 482 MB, free: 5.023 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.002692, allocations: 58.61 kB / 482 MB, free: 4.969 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.862e-05/0.002791, allocations: 72.75 kB / 482.1 MB, free: 4.91 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.479e-05/0.002865, allocations: 12.17 kB / 482.1 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.424e-05/0.00295, allocations: 46.31 kB / 482.2 MB, free: 4.852 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.45e-05/0.002994, allocations: 23.95 kB / 482.2 MB, free: 4.828 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.003009, allocations: 8 kB / 482.2 MB, free: 4.82 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.235e-05/0.003072, allocations: 15.98 kB / 482.2 MB, free: 4.805 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.003092, allocations: 20.77 kB / 482.2 MB, free: 4.785 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.33e-05/0.003115, allocations: 23.91 kB / 482.3 MB, free: 4.762 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.003219, allocations: 56.64 kB / 482.3 MB, free: 4.707 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.003221, allocations: 0 / 482.3 MB, free: 4.707 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.003222, allocations: 9.625 kB / 482.3 MB, free: 4.699 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.003226, allocations: 0 / 482.3 MB, free: 4.699 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003636/0.003589, allocations: 271.8 kB / 482.6 MB, free: 4.414 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.003627, allocations: 8.031 kB / 482.6 MB, free: 4.406 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.003663, allocations: 13.55 kB / 482.6 MB, free: 4.395 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.003765, allocations: 117.7 kB / 482.7 MB, free: 4.254 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.003778, allocations: 5 kB / 482.7 MB, free: 4.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.003792, allocations: 10.86 kB / 482.7 MB, free: 4.242 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.003897, allocations: 71.48 kB / 482.8 MB, free: 4.164 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.003905, allocations: 0.8125 kB / 482.8 MB, free: 4.164 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.003912, allocations: 384 / 482.8 MB, free: 4.164 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.003918, allocations: 4.844 kB / 482.8 MB, free: 4.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.02e-05/0.003938, allocations: 11.94 kB / 482.8 MB, free: 4.148 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.004251, allocations: 185.8 kB / 483 MB, free: 3.953 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.067e-05/0.004332, allocations: 38.59 kB / 483.1 MB, free: 3.906 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.97e-05/0.004351, allocations: 9.766 kB / 483.1 MB, free: 3.895 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.004366, allocations: 4 kB / 483.1 MB, free: 3.891 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.489e-05/0.004431, allocations: 60.34 kB / 483.1 MB, free: 3.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.004433, allocations: 0 / 483.1 MB, free: 3.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001061/0.004539, allocations: 66.61 kB / 483.2 MB, free: 3.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.004571, allocations: 55.41 kB / 483.2 MB, free: 3.684 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.007e-05/0.004631, allocations: 118.7 kB / 483.4 MB, free: 3.555 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.004643, allocations: 34.33 kB / 483.4 MB, free: 3.516 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.004681, allocations: 93.33 kB / 483.5 MB, free: 3.422 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.004697, allocations: 15.89 kB / 483.5 MB, free: 3.406 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.004732, allocations: 29.69 kB / 483.5 MB, free: 3.371 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.972e-05/0.004802, allocations: 326.8 kB / 483.8 MB, free: 3.043 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.004817, allocations: 9.312 kB / 483.9 MB, free: 3.035 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.382e-05/0.004851, allocations: 50 kB / 483.9 MB, free: 2.965 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.11e-05/0.004912, allocations: 72.39 kB / 484 MB, free: 2.875 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.004914, allocations: 0 / 484 MB, free: 2.875 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.719e-05/0.005001, allocations: 83.56 kB / 484.1 MB, free: 2.789 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.005012, allocations: 7.938 kB / 484.1 MB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.005016, allocations: 4.781 kB / 484.1 MB, free: 2.777 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.005027, allocations: 3.938 kB / 484.1 MB, free: 2.773 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.608e-05/0.005103, allocations: 21.42 kB / 484.1 MB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.005107, allocations: 4 kB / 484.1 MB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.063e-05/0.005138, allocations: 8 kB / 484.1 MB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.005148, allocations: 7.984 kB / 484.1 MB, free: 2.734 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$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): 11 * 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 5.478e-05/0.005203, allocations: 122.5 kB / 484.2 MB, free: 2.605 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-06/0.005211, allocations: 8.812 kB / 484.2 MB, free: 2.598 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.942e-05/0.00523, allocations: 10.72 kB / 484.3 MB, free: 2.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.005232, allocations: 1.094 kB / 484.3 MB, free: 2.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.005234, allocations: 0 / 484.3 MB, free: 2.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.005237, allocations: 4 kB / 484.3 MB, free: 2.586 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.00539, allocations: 215.6 kB / 484.5 MB, free: 2.352 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.005392, allocations: 3.938 kB / 484.5 MB, free: 2.348 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.97e-05/0.005412, allocations: 8.609 kB / 484.5 MB, free: 2.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.005413, allocations: 0.5938 kB / 484.5 MB, free: 2.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-06/0.005417, allocations: 4 kB / 484.5 MB, free: 2.336 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.005417, allocations: 1 kB / 484.5 MB, free: 2.336 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005418, allocations: 80 / 484.5 MB, free: 2.336 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.162e-05/0.00549, allocations: 155.5 kB / 484.6 MB, free: 2.168 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.014e-05/0.0055, allocations: 16.83 kB / 484.7 MB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.374e-06/0.005507, allocations: 0 / 484.7 MB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.246e-05/0.00554, allocations: 5.406 kB / 484.7 MB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.005564, allocations: 11.92 kB / 484.7 MB, free: 2.137 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.005569, allocations: 11.94 kB / 484.7 MB, free: 2.125 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.539e-05/0.005585, allocations: 20.67 kB / 484.7 MB, free: 2.105 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005585, allocations: 0.5 kB / 484.7 MB, free: 2.105 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001379/0.005723, allocations: 12.84 kB / 484.7 MB, free: 2.094 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * 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 8.596e-05/0.005809, allocations: 90.25 kB / 484.8 MB, free: 2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.185e-05/0.00588, allocations: 40.77 kB / 484.8 MB, free: 1.957 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.005883, allocations: 6.219 kB / 484.8 MB, free: 1.953 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.415e-05/0.005907, allocations: 16.8 kB / 484.9 MB, free: 1.934 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.00604, allocations: 19.92 kB / 484.9 MB, free: 1.914 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000217/0.006257, allocations: 155.4 kB / 485 MB, free: 1.738 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.3e-05/0.00629, allocations: 63.34 kB / 485.1 MB, free: 1.656 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002785/0.006569, allocations: 4 kB / 485.1 MB, free: 1.652 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.00662, allocations: 63.36 kB / 485.2 MB, free: 1.59 MB / 442.7 MB Notification: Performance of SimCode: time 8.22e-07/0.006621, allocations: 0.9375 kB / 485.2 MB, free: 1.59 MB / 442.7 MB Notification: Performance of Templates: time 0.002412/0.009033, allocations: 1.046 MB / 486.2 MB, free: 0.6211 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7353740641847253]