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.0009541/0.0009541, allocations: 76.45 kB / 19.9 MB, free: 12 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.001203/0.001203, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.9696/0.9696, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.7482/0.7482, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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: 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.001022/0.001022, allocations: 77.2 kB / 0.6196 GB, free: 13.13 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5282/0.5292, allocations: 101.9 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001468/0.5307, allocations: 0.7252 MB / 0.7198 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.5318, allocations: 1.089 MB / 0.7209 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.441e-05/0.5318, allocations: 5.188 kB / 0.7209 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.092e-05/0.5318, allocations: 8.906 kB / 0.7209 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.379e-05/0.5319, allocations: 7.203 kB / 0.7209 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.5322, allocations: 57.94 kB / 0.721 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.5323, allocations: 69.39 kB / 0.721 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.5324, allocations: 16.58 kB / 0.721 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.255e-05/0.5325, allocations: 50.31 kB / 0.7211 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.441e-05/0.5326, allocations: 29.45 kB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.5326, allocations: 6.188 kB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.215e-05/0.5326, allocations: 22.61 kB / 0.7211 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.438e-05/0.5327, allocations: 17.17 kB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/0.5327, allocations: 21.98 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.5329, allocations: 80.84 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5329, allocations: 0 / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5329, allocations: 3.938 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.5329, allocations: 1.219 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB 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.0004324/0.5333, allocations: 303.2 kB / 0.7216 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.5334, allocations: 8.875 kB / 0.7216 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.5334, allocations: 8.516 kB / 0.7216 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.627e-05/0.5335, allocations: 125.5 kB / 0.7217 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.5335, allocations: 10.38 kB / 0.7217 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.5335, allocations: 5.031 kB / 0.7217 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.5336, allocations: 63.75 kB / 0.7218 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.5337, allocations: 5.062 kB / 0.7218 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.5337, allocations: 4.562 kB / 0.7218 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5337, allocations: 1.219 kB / 0.7218 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.5338, allocations: 43.64 kB / 0.7218 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.5342, allocations: 262.4 kB / 0.7221 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.5343, allocations: 50.84 kB / 0.7221 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.746e-05/0.5344, allocations: 35.77 kB / 0.7222 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.5344, allocations: 1.781 kB / 0.7222 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.5346, allocations: 83.03 kB / 0.7222 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.5346, allocations: 4 kB / 0.7222 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003112/0.5349, allocations: 124 kB / 0.7224 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.5349, allocations: 54.33 kB / 0.7224 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.452e-05/0.535, allocations: 126.6 kB / 0.7225 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.535, allocations: 30.58 kB / 0.7226 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.535, allocations: 93.11 kB / 0.7226 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.535, allocations: 15.27 kB / 0.7227 GB, free: 21 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.5351, allocations: 30.36 kB / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.688e-05/0.5351, allocations: 327 kB / 0.723 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.134e-05/0.5352, allocations: 31.08 kB / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.792e-05/0.5353, allocations: 72.06 kB / 0.7231 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.5354, allocations: 107.8 kB / 0.7232 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5354, allocations: 2.25 kB / 0.7232 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001857/0.5356, allocations: 133.2 kB / 0.7233 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.5356, allocations: 6 kB / 0.7233 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5356, allocations: 3.266 kB / 0.7233 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.5356, allocations: 6.344 kB / 0.7233 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.5357, allocations: 16.47 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.5357, allocations: 6.688 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/0.5358, allocations: 24.22 kB / 0.7234 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.5358, allocations: 9.281 kB / 0.7234 GB, free: 20.41 MB / 0.6355 GB 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.343e-05/0.5358, allocations: 121.7 kB / 0.7235 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.5358, allocations: 6.203 kB / 0.7235 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.5359, allocations: 12.11 kB / 0.7235 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5359, allocations: 5.062 kB / 0.7235 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5359, allocations: 4 kB / 0.7235 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5359, allocations: 1.672 kB / 0.7235 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.5362, allocations: 308.5 kB / 0.7238 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.5362, allocations: 0 / 0.7238 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.946e-05/0.5362, allocations: 8.234 kB / 0.7238 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.5362, allocations: 1.781 kB / 0.7238 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.5362, allocations: 5.156 kB / 0.7239 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.5362, allocations: 0.7969 kB / 0.7239 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5362, allocations: 5.156 kB / 0.7239 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.5364, allocations: 209.1 kB / 0.7241 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.397e-06/0.5364, allocations: 7.328 kB / 0.7241 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.5364, allocations: 1.719 kB / 0.7241 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.609e-05/0.5364, allocations: 6.141 kB / 0.7241 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.5365, allocations: 8.922 kB / 0.7241 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.5365, allocations: 6.906 kB / 0.7241 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.038e-05/0.5365, allocations: 95.94 kB / 0.7242 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5365, allocations: 0 / 0.7242 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001821/0.5367, allocations: 25.19 kB / 0.7242 GB, free: 19.74 MB / 0.6355 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 (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 0.0001127/0.5368, allocations: 101.2 kB / 0.7243 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001904/0.537, allocations: 76.8 kB / 0.7244 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.537, allocations: 1.188 kB / 0.7244 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.476e-05/0.5371, allocations: 30.14 kB / 0.7244 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.5373, allocations: 15.66 kB / 0.7244 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.5376, allocations: 162 kB / 0.7246 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.528e-05/0.5376, allocations: 76.64 kB / 0.7246 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.994e-05/0.5377, allocations: 9.656 kB / 0.7247 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.5377, allocations: 13.67 kB / 0.7247 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of SimCode: time 6.11e-07/0.5377, allocations: 1 kB / 0.7247 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of Templates: time 0.003355/0.541, allocations: 1.031 MB / 0.7257 GB, free: 19.26 MB / 0.6355 GB " [Timeout remaining time 659] 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=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.512881361064501] Failed to read output from testmodel.py, exit status != 0: 0.5484749770257622 0.556754753 0.021992495 Calling exit ...