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.0008989/0.0008989, 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.001009/0.001009, allocations: 213.7 kB / 22.26 MB, free: 3.688 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.9538/0.9538, allocations: 230.6 MB / 256 MB, free: 9.809 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.7682/0.7682, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.0008978/0.0008978, allocations: 70.5 kB / 0.7183 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4706/0.4715, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001483/0.473, allocations: 0.7431 MB / 0.8186 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.474, allocations: 1.111 MB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.284e-05/0.474, allocations: 10.5 kB / 0.8197 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.118e-05/0.474, allocations: 5.297 kB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.891e-05/0.4741, allocations: 13.53 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.4744, allocations: 51.3 kB / 0.8198 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.4746, allocations: 76.83 kB / 0.8198 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.4747, allocations: 15.94 kB / 0.8199 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.098e-05/0.4748, allocations: 33.31 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.055e-05/0.4748, allocations: 30.78 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.4748, allocations: 9.625 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.88e-05/0.4749, allocations: 21.16 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.4749, allocations: 22.95 kB / 0.82 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.475, allocations: 30.98 kB / 0.82 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.4751, allocations: 80.02 kB / 0.8201 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.4751, allocations: 0 / 0.8201 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4751, allocations: 0 / 0.8201 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.4751, 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.0004531/0.4756, allocations: 310.5 kB / 0.8204 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.4756, allocations: 8.391 kB / 0.8204 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.4757, allocations: 41.08 kB / 0.8204 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.4757, allocations: 9.484 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.17e-05/0.4758, allocations: 115.4 kB / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.4758, allocations: 8.234 kB / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.4758, allocations: 4.281 kB / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.476, allocations: 70.67 kB / 0.8206 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.476, allocations: 2.469 kB / 0.8206 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.476, allocations: 0 / 0.8206 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.476, allocations: 5.328 kB / 0.8206 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.927e-05/0.4761, allocations: 52.62 kB / 0.8207 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000492/0.4766, allocations: 286.6 kB / 0.8209 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.4767, allocations: 51.03 kB / 0.821 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/0.4768, allocations: 31.53 kB / 0.821 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.4768, allocations: 1.875 kB / 0.821 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.477, allocations: 83.89 kB / 0.8211 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.477, allocations: 0 / 0.8211 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003412/0.4773, allocations: 131.7 kB / 0.8212 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.4774, allocations: 52.11 kB / 0.8213 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004174/0.4778, allocations: 129.8 kB / 0.8214 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.4778, allocations: 27.02 kB / 0.8214 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.4779, allocations: 88.59 kB / 0.8215 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.4779, allocations: 15.75 kB / 0.8215 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.4779, allocations: 32.41 kB / 0.8216 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.775e-05/0.478, allocations: 320.6 kB / 0.8219 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.552e-05/0.4781, allocations: 31.88 kB / 0.8219 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.4782, allocations: 70.64 kB / 0.822 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.4783, allocations: 114.2 kB / 0.8221 GB, free: 14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4783, allocations: 1.703 kB / 0.8221 GB, free: 14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001971/0.4785, allocations: 131.8 kB / 0.8222 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.4786, allocations: 6.594 kB / 0.8222 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.4786, allocations: 1.531 kB / 0.8222 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.4786, allocations: 3.438 kB / 0.8222 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.555e-05/0.4787, allocations: 27.05 kB / 0.8222 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.4787, allocations: 0.5156 kB / 0.8222 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.4787, allocations: 16.16 kB / 0.8223 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.4787, allocations: 8.828 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 7.584e-05/0.4788, allocations: 130.2 kB / 0.8224 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-06/0.4788, allocations: 6.188 kB / 0.8224 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/0.4788, allocations: 6.672 kB / 0.8224 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.4788, allocations: 5.406 kB / 0.8224 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4789, allocations: 0.7969 kB / 0.8224 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4789, allocations: 0 / 0.8224 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.4792, allocations: 349 kB / 0.8227 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4792, allocations: 0.9688 kB / 0.8227 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.528e-05/0.4792, allocations: 12.88 kB / 0.8228 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.4792, allocations: 4.734 kB / 0.8228 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.4792, allocations: 1.312 kB / 0.8228 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4792, allocations: 3.938 kB / 0.8228 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4792, allocations: 0 / 0.8228 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.4794, allocations: 205.5 kB / 0.823 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.395e-06/0.4794, allocations: 3.953 kB / 0.823 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.4794, allocations: 4.156 kB / 0.823 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.331e-05/0.4794, allocations: 13.92 kB / 0.823 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.4795, allocations: 2.906 kB / 0.823 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.4795, allocations: 4.875 kB / 0.823 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.291e-05/0.4795, allocations: 94.72 kB / 0.8231 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4795, allocations: 0 / 0.8231 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001758/0.4797, allocations: 17.75 kB / 0.8231 GB, free: 13.2 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.0004616/0.4802, allocations: 0.7382 MB / 0.8238 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.4804, allocations: 77.34 kB / 0.8239 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4804, allocations: 0 / 0.8239 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.397e-05/0.4805, allocations: 42.28 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.000221/0.4807, allocations: 16.56 kB / 0.8239 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.4818, allocations: 1.521 MB / 0.8254 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.482, allocations: 0.6881 MB / 0.8261 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.074e-05/0.482, allocations: 14.48 kB / 0.8261 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.482, allocations: 22.56 kB / 0.8261 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.4821, allocations: 0 / 0.8261 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.4982, allocations: 2.227 MB / 0.8283 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.554/7.052, allocations: 5 kB / 0.8283 GB, free: 9.926 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 & /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.865715814055875] Failed to read output from testmodel.py, exit status != 0: 7.128906833939254 7.143417082 6.666008788 Calling exit ...