Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007361/0.0007361, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001172/0.001172, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8997/0.8997, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6974/0.6974, allocations: 154.6 MB / 413.7 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.726e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001227/0.001245, allocations: 0.7282 MB / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.002245, allocations: 1.096 MB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.297e-05/0.002288, allocations: 3.938 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.535e-05/0.002314, allocations: 3.938 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.471e-05/0.002378, allocations: 19.86 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.002639, allocations: 43.83 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.487e-05/0.002733, allocations: 79.7 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.336e-05/0.002827, allocations: 16.17 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.316e-05/0.0029, allocations: 39.91 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.512e-05/0.002945, allocations: 31.89 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.002959, allocations: 4 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.547e-05/0.003005, allocations: 19.98 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.003024, allocations: 11.98 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.003054, allocations: 23.92 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.00318, allocations: 79.73 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003182, allocations: 0 / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.72e-07/0.003183, allocations: 0 / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.267e-06/0.003186, allocations: 0 / 0.6203 GB, free: 11.42 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.0003784/0.003564, allocations: 314 kB / 0.6206 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.0036, allocations: 8.031 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.973e-05/0.003629, allocations: 38.75 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.547e-05/0.003655, allocations: 4.891 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.782e-05/0.003733, allocations: 125.7 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.003742, allocations: 384 / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.003754, allocations: 8.375 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.00388, allocations: 62.23 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.003886, allocations: 192 / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.003895, allocations: 4.359 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.003902, allocations: 11.94 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.026e-05/0.003992, allocations: 47.84 kB / 0.6209 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005212/0.004513, allocations: 287.8 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.004622, allocations: 54.5 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.918e-05/0.004672, allocations: 28.95 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.00469, allocations: 8.031 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001169/0.004807, allocations: 75.38 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.004808, allocations: 0 / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002488/0.005057, allocations: 133.6 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.908e-05/0.005146, allocations: 51.41 kB / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.174e-05/0.005208, allocations: 117.8 kB / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.005222, allocations: 41.69 kB / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.005261, allocations: 88.09 kB / 0.6217 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.005275, allocations: 19.84 kB / 0.6217 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.005309, allocations: 29.7 kB / 0.6218 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.947e-05/0.005378, allocations: 318.8 kB / 0.6221 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.773e-05/0.005436, allocations: 27.98 kB / 0.6221 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.345e-05/0.00551, allocations: 73.97 kB / 0.6222 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.005634, allocations: 109.9 kB / 0.6223 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.005636, allocations: 0 / 0.6223 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002828/0.005919, allocations: 137.5 kB / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.005932, allocations: 8 kB / 0.6224 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.005937, allocations: 0 / 0.6224 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.00595, allocations: 4 kB / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.713e-05/0.006027, allocations: 19.98 kB / 0.6224 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.006032, allocations: 3.938 kB / 0.6224 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.12e-05/0.006074, allocations: 15.92 kB / 0.6224 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.006084, allocations: 4 kB / 0.6224 GB, free: 8.945 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.249e-05/0.006146, allocations: 126.8 kB / 0.6226 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-06/0.006154, allocations: 7.953 kB / 0.6226 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.006176, allocations: 12.42 kB / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.006178, allocations: 4 kB / 0.6226 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.006183, allocations: 0 / 0.6226 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.006186, allocations: 0 / 0.6226 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.006463, allocations: 341.5 kB / 0.6229 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.006465, allocations: 4 kB / 0.6229 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.302e-05/0.006488, allocations: 7.984 kB / 0.6229 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.006491, allocations: 8 kB / 0.6229 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.006498, allocations: 4 kB / 0.6229 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.006499, allocations: 0 / 0.6229 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.0065, allocations: 0 / 0.6229 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.006648, allocations: 203.4 kB / 0.6231 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-06/0.006657, allocations: 7.953 kB / 0.6231 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.988e-06/0.006667, allocations: 3.938 kB / 0.6231 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.92e-05/0.006706, allocations: 7.984 kB / 0.6231 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.006737, allocations: 7.984 kB / 0.6232 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.006744, allocations: 11.94 kB / 0.6232 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.368e-05/0.006777, allocations: 94.33 kB / 0.6233 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006777, allocations: 0 / 0.6233 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001788/0.006956, allocations: 19.94 kB / 0.6233 GB, free: 8.016 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.0003395/0.007296, allocations: 0.7402 MB / 0.624 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001853/0.007481, allocations: 75.88 kB / 0.6241 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.007484, allocations: 4 kB / 0.6241 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.66e-05/0.00754, allocations: 32.05 kB / 0.6241 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.007725, allocations: 19.92 kB / 0.6241 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.008793, allocations: 1.517 MB / 0.6256 GB, free: 5.48 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.442e-05/0.008837, allocations: 75.33 kB / 0.6257 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.629e-05/0.008863, allocations: 7.984 kB / 0.6257 GB, free: 5.379 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.008901, allocations: 20.5 kB / 0.6257 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of SimCode: time 4.71e-07/0.008901, allocations: 4 kB / 0.6257 GB, free: 5.355 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01503/0.02394, allocations: 2.823 MB / 0.6285 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.531/6.555, allocations: 5.094 kB / 0.6285 GB, free: 2.746 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.18420836981386] Failed to read output from testmodel.py, exit status != 0: 6.634148675017059 6.642524609 6.637711931 Calling exit ...