Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008104/0.0008104, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001314/0.001314, allocations: 219 kB / 22.26 MB, free: 3.703 MB / 13.93 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.9094/0.9094, allocations: 230.6 MB / 256 MB, free: 9.805 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8055/0.8055, allocations: 203.8 MB / 0.5042 GB, free: 10.72 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_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_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [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.001369/0.001369, allocations: 66.77 kB / 0.7183 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5317/0.5331, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001523/0.5346, allocations: 0.7377 MB / 0.8186 GB, free: 0.7852 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.5357, allocations: 1.12 MB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.935e-05/0.5357, allocations: 1.156 kB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/0.5357, allocations: 4.734 kB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.829e-05/0.5358, allocations: 16.08 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.5361, allocations: 51.02 kB / 0.8198 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.5362, allocations: 77.53 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.5363, allocations: 16.27 kB / 0.8199 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.352e-05/0.5364, allocations: 30.16 kB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.224e-05/0.5365, allocations: 38.19 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.5365, allocations: 4.562 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.854e-05/0.5365, allocations: 16.27 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.5366, allocations: 17.91 kB / 0.82 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.5366, allocations: 34.81 kB / 0.82 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.5367, allocations: 84.45 kB / 0.8201 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5368, allocations: 0.5 kB / 0.8201 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5368, allocations: 3.406 kB / 0.8201 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.5368, allocations: 0 / 0.8201 GB, free: 15.77 MB / 0.6198 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.0004204/0.5372, allocations: 306.3 kB / 0.8204 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.5372, allocations: 7.906 kB / 0.8204 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.995e-05/0.5372, allocations: 35.44 kB / 0.8204 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.5373, allocations: 6.547 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8e-05/0.5374, allocations: 128.5 kB / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.5374, allocations: 2.5 kB / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.5374, allocations: 4.828 kB / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.5375, allocations: 71.83 kB / 0.8206 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.5375, allocations: 0 / 0.8206 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.5375, allocations: 7.984 kB / 0.8206 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.5376, allocations: 1.719 kB / 0.8206 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.588e-05/0.5376, allocations: 49.08 kB / 0.8207 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.5381, allocations: 288.7 kB / 0.8209 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.5382, allocations: 52.86 kB / 0.821 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.5383, allocations: 28.92 kB / 0.821 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.5383, allocations: 4 kB / 0.821 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001257/0.5384, allocations: 81.36 kB / 0.8211 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.5384, allocations: 6.781 kB / 0.8211 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002637/0.5387, allocations: 123.6 kB / 0.8212 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.5387, allocations: 56.53 kB / 0.8213 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.188e-05/0.5388, allocations: 126.5 kB / 0.8214 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.5388, allocations: 27.27 kB / 0.8214 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.5389, allocations: 92.84 kB / 0.8215 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.5389, allocations: 11.48 kB / 0.8215 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.5389, allocations: 34.03 kB / 0.8216 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.065e-05/0.539, allocations: 324.7 kB / 0.8219 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.151e-05/0.539, allocations: 25.34 kB / 0.8219 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.992e-05/0.5391, allocations: 83.5 kB / 0.822 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.5393, allocations: 106.4 kB / 0.8221 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5393, allocations: 0 / 0.8221 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001857/0.5395, allocations: 135 kB / 0.8222 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.5395, allocations: 8.938 kB / 0.8222 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.5395, allocations: 5.281 kB / 0.8222 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.5395, allocations: 1.922 kB / 0.8222 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.964e-05/0.5396, allocations: 17.95 kB / 0.8222 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.5396, allocations: 2.703 kB / 0.8222 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.34e-05/0.5396, allocations: 14.08 kB / 0.8223 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.5396, allocations: 11.11 kB / 0.8223 GB, free: 13.91 MB / 0.6198 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.642e-05/0.5397, allocations: 136.9 kB / 0.8224 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-06/0.5397, allocations: 7.547 kB / 0.8224 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.292e-05/0.5397, allocations: 9.594 kB / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.5397, allocations: 1.125 kB / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5397, allocations: 1.281 kB / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5397, allocations: 0.7969 kB / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.54, allocations: 342.8 kB / 0.8227 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.54, allocations: 0 / 0.8227 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.648e-05/0.5401, allocations: 10.17 kB / 0.8227 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5401, allocations: 0.7031 kB / 0.8227 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.475e-06/0.5401, allocations: 0 / 0.8227 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.5401, allocations: 4.766 kB / 0.8228 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5401, allocations: 5.078 kB / 0.8228 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.5402, allocations: 203.5 kB / 0.823 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-06/0.5402, allocations: 10.31 kB / 0.823 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.5403, allocations: 2.547 kB / 0.823 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.289e-05/0.5403, allocations: 11.94 kB / 0.823 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.5403, allocations: 6.703 kB / 0.823 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.5403, allocations: 2.406 kB / 0.823 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.922e-05/0.5404, allocations: 99.14 kB / 0.8231 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5404, allocations: 0 / 0.8231 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001773/0.5406, allocations: 18.16 kB / 0.8231 GB, free: 13.19 MB / 0.6198 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.0003992/0.541, allocations: 0.7332 MB / 0.8238 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000182/0.5411, allocations: 87.44 kB / 0.8239 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5411, allocations: 0 / 0.8239 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.933e-05/0.5412, allocations: 29.73 kB / 0.8239 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.5414, allocations: 19.59 kB / 0.8239 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.5426, allocations: 1.525 MB / 0.8254 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.5428, allocations: 0.6872 MB / 0.8261 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.456e-05/0.5428, allocations: 10.47 kB / 0.8261 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.5429, allocations: 24.69 kB / 0.8261 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/0.5429, allocations: 1.156 kB / 0.8261 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.5594, allocations: 2.227 MB / 0.8283 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.646/7.206, allocations: 6.516 kB / 0.8283 GB, free: 9.918 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.188111810013652] Failed to read output from testmodel.py, exit status != 0: 7.284790910081938 7.299228363 6.760079339 Calling exit ...