Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.0007647/0.0007647, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0007955/0.0007955, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8673/0.8673, allocations: 177.1 MB / 202.8 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.7358/0.7358, allocations: 154.6 MB / 413.7 MB, free: 0.7891 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.28e-05, allocations: 3.125 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001346/0.001369, allocations: 0.7208 MB / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.00244, allocations: 1.092 MB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.002493, allocations: 0 / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.002523, allocations: 7.875 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.616e-05/0.002589, allocations: 15.88 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.002863, allocations: 63.62 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.822e-05/0.002952, allocations: 71.77 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.583e-05/0.003047, allocations: 16.17 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.378e-05/0.003121, allocations: 43.88 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.18e-05/0.003163, allocations: 19.98 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.003179, allocations: 8 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.893e-05/0.003228, allocations: 19.97 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.003249, allocations: 19.92 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.003277, allocations: 19.92 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.003401, allocations: 83.78 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.003403, allocations: 11.88 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.282e-06/0.003404, allocations: 0 / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.003408, allocations: 0 / 0.6203 GB, free: 11.41 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003743/0.003782, allocations: 300.2 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.003817, allocations: 8.031 kB / 0.6206 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.053e-05/0.003848, allocations: 38.73 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.558e-05/0.003873, allocations: 8.891 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.609e-05/0.00395, allocations: 116.5 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.00396, allocations: 4.375 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.003971, allocations: 12.38 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.004099, allocations: 70.16 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.004106, allocations: 192 / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.004114, allocations: 384 / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.00412, allocations: 3.938 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.879e-05/0.004209, allocations: 43.95 kB / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.004614, allocations: 272 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.004722, allocations: 66.42 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.199e-05/0.004774, allocations: 32.97 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.004791, allocations: 0 / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.004924, allocations: 79.36 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.004925, allocations: 0 / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002531/0.005178, allocations: 133.5 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.005211, allocations: 55.41 kB / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.206e-05/0.005283, allocations: 125.8 kB / 0.6216 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.005296, allocations: 29.64 kB / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.00534, allocations: 92.09 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.005357, allocations: 23.88 kB / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.005392, allocations: 25.72 kB / 0.6217 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.582e-05/0.005468, allocations: 326.8 kB / 0.6221 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.648e-05/0.005524, allocations: 27.97 kB / 0.6221 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-05/0.005596, allocations: 73.98 kB / 0.6222 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.005722, allocations: 113.8 kB / 0.6223 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.005724, allocations: 0 / 0.6223 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001694/0.005894, allocations: 133.5 kB / 0.6224 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.005905, allocations: 4 kB / 0.6224 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.00591, allocations: 4 kB / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.005921, allocations: 0 / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.422e-05/0.005995, allocations: 19.92 kB / 0.6224 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.006001, allocations: 8.219 kB / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.059e-05/0.006042, allocations: 11.98 kB / 0.6224 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.006052, allocations: 8 kB / 0.6224 GB, free: 8.953 MB / 0.5886 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 6.87e-05/0.006121, allocations: 126.7 kB / 0.6226 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-06/0.00613, allocations: 11.94 kB / 0.6226 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.006153, allocations: 8.438 kB / 0.6226 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.006155, allocations: 3.938 kB / 0.6226 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.006159, allocations: 0 / 0.6226 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.006163, allocations: 4 kB / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.006447, allocations: 333.6 kB / 0.6229 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.006449, allocations: 3.984 kB / 0.6229 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.349e-05/0.006473, allocations: 7.938 kB / 0.6229 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.006474, allocations: 0 / 0.6229 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.006481, allocations: 4 kB / 0.6229 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.006483, allocations: 0 / 0.6229 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.006485, allocations: 3.984 kB / 0.6229 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.006635, allocations: 203.4 kB / 0.6231 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-06/0.006642, allocations: 7.953 kB / 0.6231 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.006653, allocations: 4 kB / 0.6231 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.08e-05/0.006694, allocations: 7.969 kB / 0.6231 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.006724, allocations: 15.92 kB / 0.6232 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.006731, allocations: 7.938 kB / 0.6232 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.468e-05/0.006766, allocations: 94.66 kB / 0.6233 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006766, allocations: 0 / 0.6233 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001751/0.006941, allocations: 16 kB / 0.6233 GB, free: 8.031 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 (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.000366/0.007307, allocations: 0.7401 MB / 0.624 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.007472, allocations: 79.86 kB / 0.6241 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.007475, allocations: 4 kB / 0.6241 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.009e-05/0.007536, allocations: 39.92 kB / 0.6241 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.007729, allocations: 20.52 kB / 0.6241 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.00879, allocations: 1.517 MB / 0.6256 GB, free: 5.484 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.133e-05/0.008841, allocations: 79.33 kB / 0.6257 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.637e-05/0.008867, allocations: 4 kB / 0.6257 GB, free: 5.383 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.008906, allocations: 24.48 kB / 0.6257 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of SimCode: time 5.31e-07/0.008906, allocations: 0 / 0.6257 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01428/0.02318, allocations: 2.808 MB / 0.6285 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.866/6.889, allocations: 5.156 kB / 0.6285 GB, free: 2.762 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.csv --start-time -2 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.601805955171585] Failed to read output from testmodel.py, exit status != 0: 6.966984051279724 6.978235696 6.973111062 Calling exit ...