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.0009721/0.0009721, 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.0009558/0.0009558, allocations: 217.7 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.9442/0.9442, 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.7823/0.7823, allocations: 203.8 MB / 0.5042 GB, free: 10.67 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.001432/0.001432, allocations: 63.84 kB / 0.7182 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4807/0.4821, allocations: 102 MB / 0.8179 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001505/0.4836, allocations: 0.7373 MB / 0.8186 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008954/0.4845, allocations: 1.114 MB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.492e-05/0.4845, allocations: 3.656 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.4846, allocations: 5.016 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.605e-05/0.4846, allocations: 12.53 kB / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.4849, allocations: 55.02 kB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.485, allocations: 82.5 kB / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.616e-05/0.4851, allocations: 16.67 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.569e-05/0.4852, allocations: 26.45 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.433e-05/0.4852, allocations: 33.16 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.4853, allocations: 5.031 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.174e-05/0.4853, allocations: 24.36 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.025e-05/0.4853, allocations: 16.83 kB / 0.82 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.4854, allocations: 27.58 kB / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.4855, allocations: 88.16 kB / 0.8201 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.4855, allocations: 0 / 0.8201 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4855, allocations: 3.688 kB / 0.8201 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.4855, allocations: 0.6562 kB / 0.8201 GB, free: 15.76 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.0004129/0.4859, allocations: 302.9 kB / 0.8204 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.486, allocations: 6.938 kB / 0.8204 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.637e-05/0.486, allocations: 43.75 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.486, allocations: 7.141 kB / 0.8204 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.844e-05/0.4861, allocations: 116 kB / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.4861, allocations: 10.06 kB / 0.8205 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.4862, allocations: 4 kB / 0.8205 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.4863, allocations: 72.77 kB / 0.8206 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.4863, allocations: 0 / 0.8206 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.4863, allocations: 3.688 kB / 0.8206 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4863, allocations: 0.8906 kB / 0.8206 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.512e-05/0.4864, allocations: 45.33 kB / 0.8207 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.4869, allocations: 298 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.487, allocations: 51.52 kB / 0.821 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.979e-05/0.4871, allocations: 25.03 kB / 0.821 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.4871, allocations: 5.688 kB / 0.821 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.4872, allocations: 90.31 kB / 0.8211 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.4872, allocations: 0 / 0.8211 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002567/0.4875, allocations: 125.4 kB / 0.8212 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.4875, allocations: 51.41 kB / 0.8213 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.234e-05/0.4876, allocations: 136.2 kB / 0.8214 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.4876, allocations: 27.48 kB / 0.8214 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.4877, allocations: 87.55 kB / 0.8215 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.4877, allocations: 16.56 kB / 0.8215 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.4877, allocations: 35.08 kB / 0.8216 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.497e-05/0.4878, allocations: 317.2 kB / 0.8219 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.124e-05/0.4879, allocations: 32.06 kB / 0.8219 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.124e-05/0.4879, allocations: 78.98 kB / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.4881, allocations: 105.7 kB / 0.8221 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4881, allocations: 0 / 0.8221 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001796/0.4883, allocations: 136 kB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.4883, allocations: 11.31 kB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.4883, allocations: 2.594 kB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.4883, allocations: 5.172 kB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.741e-05/0.4884, allocations: 15.12 kB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.4884, allocations: 1.734 kB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.989e-05/0.4884, allocations: 12.36 kB / 0.8222 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.4884, allocations: 9 kB / 0.8223 GB, free: 13.9 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.877e-05/0.4885, allocations: 140 kB / 0.8224 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.4885, allocations: 6.766 kB / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.113e-05/0.4885, allocations: 7.047 kB / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.4885, allocations: 2.094 kB / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.4885, allocations: 0 / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.4885, allocations: 0.6562 kB / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.4888, allocations: 347.5 kB / 0.8227 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4888, allocations: 4 kB / 0.8227 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.45e-05/0.4888, allocations: 12.44 kB / 0.8228 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4888, allocations: 0 / 0.8228 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.4888, allocations: 4 kB / 0.8228 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4889, allocations: 3.938 kB / 0.8228 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4889, allocations: 2 kB / 0.8228 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.489, allocations: 198.6 kB / 0.823 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-06/0.489, allocations: 5.609 kB / 0.823 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.489, allocations: 2.078 kB / 0.823 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.097e-05/0.4891, allocations: 14.36 kB / 0.823 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.4891, allocations: 10.17 kB / 0.823 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/0.4891, allocations: 0.7031 kB / 0.823 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.542e-05/0.4891, allocations: 93.42 kB / 0.8231 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4891, allocations: 0 / 0.8231 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001605/0.4893, allocations: 19.12 kB / 0.8231 GB, free: 13.18 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.000381/0.4897, allocations: 0.7367 MB / 0.8238 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000172/0.4899, allocations: 81.33 kB / 0.8239 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.4899, allocations: 0 / 0.8239 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.945e-05/0.4899, allocations: 35.86 kB / 0.8239 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.4901, allocations: 14.8 kB / 0.8239 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.4913, allocations: 1.523 MB / 0.8254 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.4915, allocations: 0.6898 MB / 0.8261 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.371e-05/0.4915, allocations: 7.969 kB / 0.8261 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.4915, allocations: 22.39 kB / 0.8261 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of SimCode: time 8.42e-07/0.4915, allocations: 4 kB / 0.8261 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.5082, allocations: 2.239 MB / 0.8283 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.857/7.365, allocations: 3.625 kB / 0.8283 GB, free: 9.902 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.168890970060602] Failed to read output from testmodel.py, exit status != 0: 7.442426912020892 7.460457229 6.971146168 Calling exit ...