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.0008715/0.0008715, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.001018/0.001018, allocations: 162 kB / 22.43 MB, free: 2.141 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.8532/0.8532, allocations: 177.2 MB / 202.8 MB, free: 5.773 MB / 186.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.6848/0.6848, allocations: 155 MB / 414.2 MB, free: 488 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.000918/0.000918, allocations: 71.55 kB / 0.6187 GB, free: 12.18 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4357/0.4366, allocations: 102 MB / 0.7183 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001476/0.438, allocations: 0.7225 MB / 0.719 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.4394, allocations: 1.094 MB / 0.72 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.4394, allocations: 4 kB / 0.72 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.172e-05/0.4395, allocations: 3.938 kB / 0.72 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.057e-05/0.4395, allocations: 15.86 kB / 0.7201 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.4398, allocations: 56.31 kB / 0.7201 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.288e-05/0.4399, allocations: 67.78 kB / 0.7202 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.44, allocations: 16.17 kB / 0.7202 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.675e-05/0.4401, allocations: 43.89 kB / 0.7202 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.678e-05/0.4401, allocations: 27.84 kB / 0.7203 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.4402, allocations: 8 kB / 0.7203 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.937e-05/0.4402, allocations: 19.98 kB / 0.7203 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.4402, allocations: 19.94 kB / 0.7203 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.4403, allocations: 23.91 kB / 0.7203 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.4404, allocations: 95.55 kB / 0.7204 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4404, allocations: 0 / 0.7204 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4404, allocations: 3.938 kB / 0.7204 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.4404, allocations: 0 / 0.7204 GB, free: 11.04 MB / 0.6042 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.0004116/0.4408, allocations: 310 kB / 0.7207 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.4409, allocations: 9.469 kB / 0.7207 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.802e-05/0.4409, allocations: 30.75 kB / 0.7208 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.4409, allocations: 8.891 kB / 0.7208 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.939e-05/0.441, allocations: 122.1 kB / 0.7209 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.441, allocations: 4.375 kB / 0.7209 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.441, allocations: 8.359 kB / 0.7209 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.4412, allocations: 69.92 kB / 0.721 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.4412, allocations: 0 / 0.721 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.4412, allocations: 4 kB / 0.721 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.4412, allocations: 7.984 kB / 0.721 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.128e-05/0.4413, allocations: 47.89 kB / 0.721 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.4417, allocations: 287.8 kB / 0.7213 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.4418, allocations: 51.75 kB / 0.7213 GB, free: 9.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.225e-05/0.4419, allocations: 32.95 kB / 0.7214 GB, free: 9.945 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.4419, allocations: 0 / 0.7214 GB, free: 9.945 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.4421, allocations: 83.36 kB / 0.7215 GB, free: 9.852 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.894e-06/0.4421, allocations: 4 kB / 0.7215 GB, free: 9.848 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002585/0.4423, allocations: 129.8 kB / 0.7216 GB, free: 9.715 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.4423, allocations: 51.41 kB / 0.7216 GB, free: 9.652 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.747e-05/0.4424, allocations: 121.8 kB / 0.7217 GB, free: 9.523 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.4424, allocations: 29.7 kB / 0.7218 GB, free: 9.488 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.4425, allocations: 92.12 kB / 0.7219 GB, free: 9.395 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.4425, allocations: 19.89 kB / 0.7219 GB, free: 9.375 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.4425, allocations: 25.7 kB / 0.7219 GB, free: 9.344 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.748e-05/0.4426, allocations: 326.8 kB / 0.7222 GB, free: 9.016 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.708e-05/0.4427, allocations: 35.92 kB / 0.7223 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.697e-05/0.4427, allocations: 73.92 kB / 0.7223 GB, free: 8.887 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.4429, allocations: 109.9 kB / 0.7224 GB, free: 8.758 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4429, allocations: 0 / 0.7224 GB, free: 8.758 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001687/0.443, allocations: 125.5 kB / 0.7225 GB, free: 8.629 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.4431, allocations: 11.92 kB / 0.7226 GB, free: 8.617 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.4431, allocations: 4 kB / 0.7226 GB, free: 8.613 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.4431, allocations: 8.219 kB / 0.7226 GB, free: 8.605 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.875e-05/0.4432, allocations: 19.98 kB / 0.7226 GB, free: 8.586 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.4432, allocations: 0 / 0.7226 GB, free: 8.586 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.312e-05/0.4432, allocations: 19.88 kB / 0.7226 GB, free: 8.566 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.4432, allocations: 4 kB / 0.7226 GB, free: 8.562 MB / 0.6042 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.23e-05/0.4433, allocations: 122.7 kB / 0.7227 GB, free: 8.434 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-06/0.4433, allocations: 7.953 kB / 0.7227 GB, free: 8.426 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.375e-05/0.4433, allocations: 8.438 kB / 0.7227 GB, free: 8.418 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.4433, allocations: 4 kB / 0.7227 GB, free: 8.414 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.4433, allocations: 4 kB / 0.7228 GB, free: 8.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4433, allocations: 3.984 kB / 0.7228 GB, free: 8.406 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.4436, allocations: 333.5 kB / 0.7231 GB, free: 8.031 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4436, allocations: 0 / 0.7231 GB, free: 8.031 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/0.4436, allocations: 7.984 kB / 0.7231 GB, free: 8.023 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4436, allocations: 0 / 0.7231 GB, free: 8.023 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.4437, allocations: 4 kB / 0.7231 GB, free: 8.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4437, allocations: 3.938 kB / 0.7231 GB, free: 8.016 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4437, allocations: 0 / 0.7231 GB, free: 8.016 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.4438, allocations: 211.4 kB / 0.7233 GB, free: 7.793 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-06/0.4438, allocations: 7.891 kB / 0.7233 GB, free: 7.785 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.4438, allocations: 7.938 kB / 0.7233 GB, free: 7.777 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.113e-05/0.4439, allocations: 11.92 kB / 0.7233 GB, free: 7.766 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.4439, allocations: 7.938 kB / 0.7233 GB, free: 7.758 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.4439, allocations: 7.938 kB / 0.7233 GB, free: 7.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.61e-05/0.4439, allocations: 91.27 kB / 0.7234 GB, free: 7.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.4439, allocations: 0 / 0.7234 GB, free: 7.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001693/0.4441, allocations: 16 kB / 0.7234 GB, free: 7.645 MB / 0.6042 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.0003863/0.4445, allocations: 0.7398 MB / 0.7242 GB, free: 6.879 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001715/0.4447, allocations: 83.81 kB / 0.7242 GB, free: 6.797 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4447, allocations: 0 / 0.7242 GB, free: 6.797 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.891e-05/0.4447, allocations: 40.41 kB / 0.7243 GB, free: 6.758 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.4449, allocations: 14.42 kB / 0.7243 GB, free: 6.746 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.446, allocations: 1.528 MB / 0.7258 GB, free: 5.102 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.772e-05/0.4461, allocations: 75.33 kB / 0.7259 GB, free: 5.008 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.926e-05/0.4461, allocations: 7.781 kB / 0.7259 GB, free: 5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.4461, allocations: 24.48 kB / 0.7259 GB, free: 4.977 MB / 0.6042 GB Notification: Performance of SimCode: time 6.21e-07/0.4461, allocations: 0 / 0.7259 GB, free: 4.977 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.4632, allocations: 2.812 MB / 0.7286 GB, free: 2.363 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.648/7.111, allocations: 12 kB / 0.7286 GB, free: 2.352 MB / 0.6042 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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: 9.605838814051822] Failed to read output from testmodel.py, exit status != 0: 7.188919228967279 7.197542757 6.755374273 Calling exit ...