Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.0008898/0.0008898, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008894/0.0008894, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9456/0.9456, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7497/0.7497, allocations: 154.6 MB / 413.7 MB, free: 0.8359 MB / 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.SampleTrigger,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.747e-06/3.747e-06, allocations: 0 / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/3.032e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001558/0.001588, allocations: 0.737 MB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.002687, allocations: 1.085 MB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.002733, allocations: 0 / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.199e-05/0.002765, allocations: 11.88 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.901e-05/0.002834, allocations: 15.86 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.00313, allocations: 51.75 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.958e-05/0.00323, allocations: 75.72 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.003344, allocations: 16.17 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.976e-05/0.003424, allocations: 43.89 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.483e-05/0.003468, allocations: 27.91 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.003484, allocations: 4 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.283e-05/0.003537, allocations: 19.98 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.003558, allocations: 15.92 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.003591, allocations: 23.97 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.003717, allocations: 79.73 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.00372, allocations: 0 / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003721, allocations: 0 / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.003725, allocations: 0 / 0.6202 GB, free: 11.5 MB / 0.5886 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.0004012/0.004126, allocations: 306.1 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.004167, allocations: 9.469 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.165e-05/0.004198, allocations: 38.73 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.004226, allocations: 12.83 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.12e-05/0.004317, allocations: 117.7 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.004327, allocations: 4.312 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.004338, allocations: 4.375 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.004485, allocations: 70.22 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.004493, allocations: 192 / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.004502, allocations: 4.375 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.004509, allocations: 7.938 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.061e-05/0.0046, allocations: 43.95 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.005052, allocations: 279.8 kB / 0.6211 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.005174, allocations: 58.48 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.964e-05/0.005224, allocations: 28.97 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.005249, allocations: 0 / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.005408, allocations: 79.41 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.005409, allocations: 3.938 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002679/0.005677, allocations: 129.6 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.005711, allocations: 55.41 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.277e-05/0.005784, allocations: 121.8 kB / 0.6215 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.005798, allocations: 37.7 kB / 0.6215 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.005841, allocations: 88.09 kB / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.005858, allocations: 23.88 kB / 0.6217 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.005895, allocations: 25.7 kB / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.818e-05/0.005973, allocations: 318.8 kB / 0.622 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.539e-05/0.006038, allocations: 35.91 kB / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.29e-05/0.006111, allocations: 73.92 kB / 0.6221 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.006246, allocations: 113.8 kB / 0.6222 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.006249, allocations: 0 / 0.6222 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000171/0.00642, allocations: 133.5 kB / 0.6223 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.006432, allocations: 8 kB / 0.6223 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.006436, allocations: 0 / 0.6223 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.006448, allocations: 4 kB / 0.6223 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.606e-05/0.006524, allocations: 15.98 kB / 0.6224 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.00653, allocations: 3.984 kB / 0.6224 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.13e-05/0.006571, allocations: 12 kB / 0.6224 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.006581, allocations: 4 kB / 0.6224 GB, free: 9.039 MB / 0.5886 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.74e-05/0.006649, allocations: 134.8 kB / 0.6225 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-06/0.006657, allocations: 7.953 kB / 0.6225 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.006682, allocations: 12.42 kB / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.006684, allocations: 4 kB / 0.6225 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.006688, allocations: 0 / 0.6225 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.006691, allocations: 0 / 0.6225 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.006974, allocations: 341.5 kB / 0.6228 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.006975, allocations: 0 / 0.6228 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.752e-05/0.007002, allocations: 12 kB / 0.6229 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.007004, allocations: 4 kB / 0.6229 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.007011, allocations: 3.984 kB / 0.6229 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.007013, allocations: 0 / 0.6229 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.007013, allocations: 0 / 0.6229 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.007172, allocations: 207.7 kB / 0.6231 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-06/0.007181, allocations: 11.95 kB / 0.6231 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.007192, allocations: 3.984 kB / 0.6231 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.94e-05/0.007231, allocations: 4 kB / 0.6231 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.007264, allocations: 7.984 kB / 0.6231 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.00727, allocations: 7.938 kB / 0.6231 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.73e-05/0.007307, allocations: 98.66 kB / 0.6232 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.007307, allocations: 0 / 0.6232 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001747/0.007482, allocations: 23.88 kB / 0.6232 GB, free: 8.098 MB / 0.5886 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.000393/0.007875, allocations: 0.7357 MB / 0.6239 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001663/0.008041, allocations: 83.86 kB / 0.624 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.008044, allocations: 4 kB / 0.624 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.226e-05/0.008106, allocations: 31.97 kB / 0.624 GB, free: 7.219 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.008305, allocations: 17.66 kB / 0.6241 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.009398, allocations: 1.518 MB / 0.6255 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.775e-05/0.009446, allocations: 78.14 kB / 0.6256 GB, free: 5.465 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.85e-05/0.009474, allocations: 4 kB / 0.6256 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.009517, allocations: 24.48 kB / 0.6256 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of SimCode: time 4.91e-07/0.009517, allocations: 7.938 kB / 0.6257 GB, free: 5.43 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.02745, allocations: 2.798 MB / 0.6284 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.885/6.912, allocations: 8.062 kB / 0.6284 GB, free: 2.805 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.668354704976082] Failed to read output from testmodel.py, exit status != 0: 6.993447561748326 7.002577108 6.997027705 Calling exit ...