Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007633/0.0007633, 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.0008735/0.0008735, allocations: 170.3 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.9205/0.9205, 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 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.7298/0.7298, allocations: 154.6 MB / 413.8 MB, free: 0.7969 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.SampleTriggerPositiveStartTime,fileNamePrefix="IDEAS_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_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.106e-06/3.106e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.312e-05, allocations: 9.906 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001452/0.001475, allocations: 0.7212 MB / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.002559, allocations: 1.096 MB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.453e-05/0.002604, allocations: 0 / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.002634, allocations: 3.938 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.977e-05/0.002704, allocations: 15.86 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.003015, allocations: 63.69 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.003118, allocations: 67.78 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.003226, allocations: 20.16 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.83e-05/0.003324, allocations: 39.91 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.732e-05/0.003371, allocations: 31.89 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.003387, allocations: 4 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.333e-05/0.00344, allocations: 12 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.003462, allocations: 15.98 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.0035, allocations: 23.91 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.003771, allocations: 83.73 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.003774, allocations: 4 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.272e-06/0.003775, allocations: 0 / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.003779, 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.0004082/0.004187, allocations: 306 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.004233, allocations: 8.031 kB / 0.6206 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.909e-05/0.004262, allocations: 34.73 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.004292, allocations: 8.891 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.366e-05/0.004376, allocations: 117.7 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.004388, allocations: 8.375 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.004398, allocations: 4.375 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.004538, allocations: 70.22 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.004545, allocations: 192 / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.004554, allocations: 8.297 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.004559, allocations: 3.938 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.863e-05/0.004648, allocations: 47.95 kB / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.005091, allocations: 271.9 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.005214, allocations: 70.52 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.023e-05/0.005264, allocations: 28.91 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.005283, allocations: 3.984 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.005427, allocations: 71.39 kB / 0.6213 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.005429, allocations: 0 / 0.6213 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002675/0.005696, allocations: 141.5 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.005732, allocations: 55.34 kB / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.514e-05/0.005807, allocations: 125.8 kB / 0.6216 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.005819, allocations: 25.7 kB / 0.6216 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.795e-05/0.005867, allocations: 100.1 kB / 0.6217 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.005881, allocations: 11.91 kB / 0.6217 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.005919, allocations: 29.7 kB / 0.6218 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.436e-05/0.005994, allocations: 318.8 kB / 0.6221 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.002e-05/0.006054, allocations: 27.97 kB / 0.6221 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.339e-05/0.006137, allocations: 77.81 kB / 0.6222 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.006272, allocations: 113.8 kB / 0.6223 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.006274, allocations: 0 / 0.6223 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001751/0.006449, allocations: 133.5 kB / 0.6224 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.006463, allocations: 4 kB / 0.6224 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.00647, allocations: 4 kB / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.006484, allocations: 0 / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.008e-05/0.006564, allocations: 27.91 kB / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.006569, allocations: 224 / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.197e-05/0.006611, allocations: 16 kB / 0.6224 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.006624, allocations: 7.984 kB / 0.6225 GB, free: 8.949 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.824e-05/0.006692, allocations: 124.7 kB / 0.6226 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.006703, allocations: 7.953 kB / 0.6226 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.006727, allocations: 8.438 kB / 0.6226 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.006728, allocations: 0 / 0.6226 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.006733, allocations: 4 kB / 0.6226 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.006736, allocations: 0 / 0.6226 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.007031, allocations: 349.5 kB / 0.6229 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.007033, allocations: 3.938 kB / 0.6229 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.007058, allocations: 4 kB / 0.6229 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.007061, allocations: 3.984 kB / 0.6229 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.007071, allocations: 4 kB / 0.6229 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.007075, allocations: 3.938 kB / 0.6229 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.007076, allocations: 0 / 0.6229 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.007232, allocations: 199.4 kB / 0.6231 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-06/0.007242, allocations: 11.94 kB / 0.6231 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.007253, allocations: 4 kB / 0.6231 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.103e-05/0.007294, allocations: 8 kB / 0.6232 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.007325, allocations: 3.984 kB / 0.6232 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.007333, allocations: 11.88 kB / 0.6232 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.477e-05/0.007368, allocations: 91.27 kB / 0.6233 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.007368, allocations: 0 / 0.6233 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001847/0.007553, allocations: 16 kB / 0.6233 GB, free: 8.031 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.0003865/0.007939, allocations: 0.7479 MB / 0.624 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001805/0.00812, allocations: 71.89 kB / 0.6241 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.008123, allocations: 4 kB / 0.6241 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.369e-05/0.008187, allocations: 43.97 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.0002096/0.008397, allocations: 8.375 kB / 0.6241 GB, free: 7.133 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.009564, allocations: 1.525 MB / 0.6256 GB, free: 5.484 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.242e-05/0.009616, allocations: 79.33 kB / 0.6257 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.047e-05/0.009647, allocations: 4 kB / 0.6257 GB, free: 5.383 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.009691, allocations: 24.48 kB / 0.6257 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of SimCode: time 5.31e-07/0.009691, allocations: 0 / 0.6257 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.02592, allocations: 2.817 MB / 0.6285 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.614/6.64, allocations: 3.594 kB / 0.6285 GB, free: 2.758 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime_fmu --startTime=1 --stopTime=6 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.319794944487512] Failed to read output from testmodel.py, exit status != 0: 6.719439638778567 6.72806882 6.722465005 Calling exit ...