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.001169/0.001169, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001141/0.001141, allocations: 209.2 kB / 22.24 MB, free: 3.57 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 1.073/1.073, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.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.8324/0.8324, allocations: 203.5 MB / 0.5039 GB, free: 10.71 MB / 410.7 MB " [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: 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.0009158/0.0009158, allocations: 73.28 kB / 0.7178 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5332/0.5341, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001662/0.5357, allocations: 0.7321 MB / 0.8181 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009677/0.5367, allocations: 1.094 MB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.5367, allocations: 0 / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.463e-05/0.5368, allocations: 5.156 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.052e-05/0.5369, allocations: 10.89 kB / 0.8192 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.5372, allocations: 56.34 kB / 0.8192 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.5373, allocations: 71.25 kB / 0.8193 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.5374, allocations: 19.95 kB / 0.8193 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.679e-05/0.5375, allocations: 32.5 kB / 0.8194 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.239e-05/0.5375, allocations: 28.06 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.5376, allocations: 5.406 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.097e-05/0.5376, allocations: 20.12 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/0.5376, allocations: 16.94 kB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.5377, allocations: 26.94 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.5378, allocations: 85.58 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.5379, allocations: 0.7031 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5379, allocations: 0 / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.5379, allocations: 0 / 0.8195 GB, free: 15.8 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.0004806/0.5383, allocations: 308 kB / 0.8198 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.5384, allocations: 9 kB / 0.8198 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.699e-05/0.5384, allocations: 37.69 kB / 0.8199 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.5385, allocations: 9.547 kB / 0.8199 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.5386, allocations: 117.9 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.5386, allocations: 4.969 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.5386, allocations: 7.188 kB / 0.82 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.5388, allocations: 71.62 kB / 0.8201 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.5388, allocations: 0 / 0.8201 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-06/0.5388, allocations: 1.469 kB / 0.8201 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.5388, allocations: 4.797 kB / 0.8201 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.5389, allocations: 43.05 kB / 0.8201 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.5394, allocations: 281 kB / 0.8204 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.5395, allocations: 49.7 kB / 0.8204 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.993e-05/0.5396, allocations: 35.77 kB / 0.8205 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.5396, allocations: 5.797 kB / 0.8205 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.5398, allocations: 84.73 kB / 0.8206 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.5398, allocations: 0 / 0.8206 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002846/0.5401, allocations: 123 kB / 0.8207 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.5401, allocations: 60.28 kB / 0.8207 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.846e-05/0.5402, allocations: 124.3 kB / 0.8209 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.5402, allocations: 32.95 kB / 0.8209 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.68e-05/0.5402, allocations: 91.59 kB / 0.821 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.5403, allocations: 20.11 kB / 0.821 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.5403, allocations: 30.56 kB / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.423e-05/0.5404, allocations: 325.2 kB / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.625e-05/0.5404, allocations: 24.86 kB / 0.8214 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.44e-05/0.5405, allocations: 78.66 kB / 0.8214 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.5407, allocations: 110.1 kB / 0.8215 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5407, allocations: 0 / 0.8215 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001864/0.5409, allocations: 133.7 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.5409, allocations: 9.531 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.5409, allocations: 1.625 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.5409, allocations: 8.344 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.409e-05/0.541, allocations: 15.14 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.541, allocations: 3.297 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.399e-05/0.541, allocations: 12.16 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.541, allocations: 4.672 kB / 0.8217 GB, free: 13.95 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.505e-05/0.5411, allocations: 135.8 kB / 0.8218 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-06/0.5411, allocations: 7.797 kB / 0.8219 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.698e-05/0.5411, allocations: 11.22 kB / 0.8219 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5411, allocations: 1.969 kB / 0.8219 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.5412, allocations: 0.5625 kB / 0.8219 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.5412, allocations: 0.6562 kB / 0.8219 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003406/0.5415, allocations: 339 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5415, allocations: 0 / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.72e-05/0.5415, allocations: 9.609 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5415, allocations: 6.594 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.5415, allocations: 0 / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.5415, allocations: 3.938 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5415, allocations: 3.938 kB / 0.8222 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.5417, allocations: 198 kB / 0.8224 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.5417, allocations: 8.703 kB / 0.8224 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.5417, allocations: 0.6094 kB / 0.8224 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.371e-05/0.5418, allocations: 13.39 kB / 0.8224 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.5418, allocations: 12.89 kB / 0.8224 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.5418, allocations: 4.688 kB / 0.8224 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.083e-05/0.5419, allocations: 90.61 kB / 0.8225 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5419, allocations: 0 / 0.8225 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001721/0.542, allocations: 17.48 kB / 0.8225 GB, free: 13.24 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.0007566/0.5428, allocations: 0.7464 MB / 0.8233 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001861/0.543, allocations: 85.17 kB / 0.8234 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.543, allocations: 0 / 0.8234 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.447e-05/0.543, allocations: 30.39 kB / 0.8234 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.5432, allocations: 21.8 kB / 0.8234 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.5445, allocations: 1.518 MB / 0.8249 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.424e-05/0.5445, allocations: 69.41 kB / 0.8249 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.433e-05/0.5446, allocations: 10.16 kB / 0.825 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.5446, allocations: 25.69 kB / 0.825 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of SimCode: time 4.81e-07/0.5446, allocations: 5.125 kB / 0.825 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.5637, allocations: 2.675 MB / 0.8276 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.264/7.828, allocations: 8.219 kB / 0.8276 GB, free: 10.16 MB / 0.6198 GB " [Timeout remaining time 652] (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: 10.992715374100953] Failed to read output from testmodel.py, exit status != 0: 7.903888969216496 7.918094484 7.378135126 Calling exit ...