Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.001081/0.001081, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008551/0.0008551, allocations: 209.2 kB / 22.24 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 0.9075/0.9075, allocations: 230.6 MB / 256 MB, free: 9.582 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.7644/0.7644, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.SampleTriggerPositiveStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",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.000953/0.000953, allocations: 70.47 kB / 0.7182 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4888/0.4898, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.00139/0.4912, allocations: 0.7259 MB / 0.8185 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009452/0.4921, allocations: 1.099 MB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.193e-05/0.4921, allocations: 0 / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.4922, allocations: 8.391 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.238e-05/0.4922, allocations: 5.062 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.4925, allocations: 56.28 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.4926, allocations: 64.28 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.4927, allocations: 23.05 kB / 0.8197 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.97e-05/0.4928, allocations: 38.61 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.593e-05/0.4929, allocations: 30.42 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.4929, allocations: 4.188 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.2e-05/0.4929, allocations: 13.09 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.4929, allocations: 21.89 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.493, allocations: 27.69 kB / 0.8199 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.4931, allocations: 76.8 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4931, allocations: 2.781 kB / 0.82 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.705e-06/0.4931, allocations: 0 / 0.82 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.4931, allocations: 0 / 0.82 GB, free: 15.6 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.0004314/0.4936, allocations: 309 kB / 0.8202 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.4936, allocations: 10.95 kB / 0.8203 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.404e-05/0.4937, allocations: 32.86 kB / 0.8203 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.4937, allocations: 8.922 kB / 0.8203 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.398e-05/0.4938, allocations: 126.4 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.4938, allocations: 384 / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.4938, allocations: 4.781 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.4939, allocations: 78.59 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.494, allocations: 0.5625 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.494, allocations: 8 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.494, allocations: 0 / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.4941, allocations: 48.3 kB / 0.8206 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004469/0.4945, allocations: 272.1 kB / 0.8208 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.4946, allocations: 53.06 kB / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.597e-05/0.4947, allocations: 32.44 kB / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.4947, allocations: 7.016 kB / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.4949, allocations: 84.84 kB / 0.821 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.4949, allocations: 0 / 0.821 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002722/0.4952, allocations: 121.9 kB / 0.8211 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.4952, allocations: 57.2 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.88e-05/0.4953, allocations: 132.7 kB / 0.8213 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.4953, allocations: 31.11 kB / 0.8213 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.4953, allocations: 89.11 kB / 0.8214 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.4953, allocations: 16.2 kB / 0.8214 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.4954, allocations: 29.45 kB / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.416e-05/0.4955, allocations: 320.3 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.978e-05/0.4955, allocations: 32.39 kB / 0.8218 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.183e-05/0.4956, allocations: 76.56 kB / 0.8218 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.4958, allocations: 109.1 kB / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.4958, allocations: 3.781 kB / 0.822 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001897/0.496, allocations: 130.8 kB / 0.8221 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.496, allocations: 3.75 kB / 0.8221 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.496, allocations: 2.828 kB / 0.8221 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.496, allocations: 1.625 kB / 0.8221 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.641e-05/0.4961, allocations: 21.78 kB / 0.8221 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.4961, allocations: 7.625 kB / 0.8221 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/0.4961, allocations: 10.86 kB / 0.8221 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.4961, allocations: 5.875 kB / 0.8221 GB, free: 13.75 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.821e-05/0.4962, allocations: 128.8 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-06/0.4962, allocations: 7.109 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.4962, allocations: 9.828 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.4962, allocations: 7.812 kB / 0.8223 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4962, allocations: 0 / 0.8223 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.4962, allocations: 0.7031 kB / 0.8223 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.4966, allocations: 334 kB / 0.8226 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.4966, allocations: 3.938 kB / 0.8226 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.081e-05/0.4966, allocations: 15.06 kB / 0.8226 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4966, allocations: 0 / 0.8226 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.4966, allocations: 6.625 kB / 0.8226 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4966, allocations: 3.938 kB / 0.8226 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4966, allocations: 0 / 0.8226 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.4968, allocations: 207.9 kB / 0.8228 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.4968, allocations: 6.781 kB / 0.8228 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.4968, allocations: 6.109 kB / 0.8228 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.597e-05/0.4968, allocations: 14.67 kB / 0.8228 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.4969, allocations: 9.031 kB / 0.8229 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.4969, allocations: 2.156 kB / 0.8229 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.028e-05/0.4969, allocations: 92.86 kB / 0.8229 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4969, allocations: 0 / 0.8229 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000179/0.4971, allocations: 17.59 kB / 0.823 GB, free: 13.03 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.0003937/0.4975, allocations: 0.7372 MB / 0.8237 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001851/0.4977, allocations: 82.41 kB / 0.8238 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4977, allocations: 0 / 0.8238 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.812e-05/0.4978, allocations: 36.11 kB / 0.8238 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.498, allocations: 13.47 kB / 0.8238 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.4991, allocations: 1.522 MB / 0.8253 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.065e-05/0.4992, allocations: 70.92 kB / 0.8254 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.406e-05/0.4992, allocations: 8.875 kB / 0.8254 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.4993, allocations: 27.69 kB / 0.8254 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of SimCode: time 3.7e-07/0.4993, allocations: 0 / 0.8254 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.5173, allocations: 2.684 MB / 0.828 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.831/7.349, allocations: 7.844 kB / 0.828 GB, free: 9.957 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime_fmu --startTime=1 --stopTime=6 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.126808226108551] Failed to read output from testmodel.py, exit status != 0: 7.42778199724853 7.442839448 6.947577069 Calling exit ...