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.000888/0.000888, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001073/0.001073, allocations: 208.1 kB / 22.25 MB, free: 3.59 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 1.005/1.005, allocations: 230.6 MB / 256 MB, free: 9.594 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.7681/0.7681, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.001486/0.001486, allocations: 73.28 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5198/0.5212, allocations: 102 MB / 0.8178 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001773/0.523, allocations: 0.7191 MB / 0.8185 GB, free: 440 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.5244, allocations: 1.098 MB / 0.8196 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.472e-05/0.5244, allocations: 0 / 0.8196 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.05e-05/0.5245, allocations: 5.438 kB / 0.8196 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.44e-05/0.5246, allocations: 16.98 kB / 0.8196 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.525, allocations: 57.05 kB / 0.8197 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.5251, allocations: 67.98 kB / 0.8197 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.5252, allocations: 21.11 kB / 0.8198 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.047e-05/0.5253, allocations: 31.8 kB / 0.8198 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.227e-05/0.5254, allocations: 24.17 kB / 0.8198 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.5254, allocations: 5.781 kB / 0.8198 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.71e-05/0.5255, allocations: 21.84 kB / 0.8198 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.112e-05/0.5255, allocations: 18.8 kB / 0.8198 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.364e-05/0.5255, allocations: 30.2 kB / 0.8199 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.5257, allocations: 81.56 kB / 0.82 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5257, allocations: 0 / 0.82 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.235e-06/0.5257, allocations: 0 / 0.82 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.5257, allocations: 1.875 kB / 0.82 GB, free: 15.45 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.0004418/0.5262, allocations: 303.1 kB / 0.8202 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.5262, allocations: 11.31 kB / 0.8203 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/0.5262, allocations: 36.16 kB / 0.8203 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.5263, allocations: 8.234 kB / 0.8203 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.384e-05/0.5264, allocations: 120.8 kB / 0.8204 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.5264, allocations: 5.906 kB / 0.8204 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.5264, allocations: 8.469 kB / 0.8204 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.5266, allocations: 72.5 kB / 0.8205 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.5266, allocations: 0 / 0.8205 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.5266, allocations: 4.016 kB / 0.8205 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.5266, allocations: 0 / 0.8205 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.5267, allocations: 42.92 kB / 0.8205 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005073/0.5272, allocations: 283 kB / 0.8208 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.5273, allocations: 47.45 kB / 0.8209 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.381e-05/0.5274, allocations: 31.5 kB / 0.8209 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.5274, allocations: 1.406 kB / 0.8209 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.5276, allocations: 92.19 kB / 0.821 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.5276, allocations: 0 / 0.821 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003187/0.5279, allocations: 125.2 kB / 0.8211 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.528, allocations: 56.2 kB / 0.8212 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.242e-05/0.5281, allocations: 128.7 kB / 0.8213 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.5281, allocations: 25.7 kB / 0.8213 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.5281, allocations: 92.28 kB / 0.8214 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.5282, allocations: 19.67 kB / 0.8214 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.5282, allocations: 30.59 kB / 0.8214 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.577e-05/0.5283, allocations: 327.4 kB / 0.8217 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.488e-05/0.5284, allocations: 31.59 kB / 0.8218 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.862e-05/0.5285, allocations: 70.3 kB / 0.8218 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.5286, allocations: 108.4 kB / 0.8219 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5286, allocations: 1.625 kB / 0.8219 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001855/0.5288, allocations: 134.1 kB / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.5288, allocations: 6.688 kB / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5288, allocations: 0.9688 kB / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.5289, allocations: 2.312 kB / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.88e-05/0.5289, allocations: 23.48 kB / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.5289, allocations: 2.969 kB / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.266e-05/0.529, allocations: 13.03 kB / 0.8221 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.529, allocations: 9.656 kB / 0.8221 GB, free: 13.6 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 7.352e-05/0.5291, allocations: 125.4 kB / 0.8223 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-06/0.5291, allocations: 6.109 kB / 0.8223 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.787e-05/0.5291, allocations: 13.61 kB / 0.8223 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5291, allocations: 1.156 kB / 0.8223 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.5291, allocations: 3.938 kB / 0.8223 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5291, allocations: 5.094 kB / 0.8223 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.5294, allocations: 333.9 kB / 0.8226 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.5294, allocations: 4 kB / 0.8226 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.983e-05/0.5295, allocations: 9.812 kB / 0.8226 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.5295, allocations: 0 / 0.8226 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.5295, allocations: 1.062 kB / 0.8226 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.5295, allocations: 5.859 kB / 0.8226 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5295, allocations: 0 / 0.8226 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.5297, allocations: 214.1 kB / 0.8228 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-06/0.5297, allocations: 8.734 kB / 0.8228 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.5297, allocations: 0.7031 kB / 0.8228 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.572e-05/0.5297, allocations: 13.33 kB / 0.8228 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.5298, allocations: 5 kB / 0.8228 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.5298, allocations: 2.797 kB / 0.8229 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.27e-05/0.5298, allocations: 94.47 kB / 0.8229 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5298, allocations: 0 / 0.8229 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000181/0.53, allocations: 18.25 kB / 0.823 GB, free: 12.89 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.0004971/0.5305, allocations: 0.7429 MB / 0.8237 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001916/0.5307, allocations: 77.39 kB / 0.8238 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5307, allocations: 5 kB / 0.8238 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.495e-05/0.5308, allocations: 30.16 kB / 0.8238 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.531, allocations: 20.08 kB / 0.8238 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.5322, allocations: 1.513 MB / 0.8253 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.411e-05/0.5323, allocations: 77.48 kB / 0.8254 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.196e-05/0.5323, allocations: 11.86 kB / 0.8254 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.5323, allocations: 26 kB / 0.8254 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.5323, allocations: 0 / 0.8254 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/0.5498, allocations: 2.687 MB / 0.828 GB, free: 9.801 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.574/7.124, allocations: 9.141 kB / 0.828 GB, free: 9.797 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.214596203062683] Failed to read output from testmodel.py, exit status != 0: 7.20555924391374 7.222083003 6.693341102 Calling exit ...