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.001136/0.001136, allocations: 105.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.0009238/0.0009238, allocations: 210.6 kB / 22.25 MB, free: 3.578 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.9767/0.9767, allocations: 230.6 MB / 256 MB, free: 9.617 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.7909/0.7909, allocations: 203.5 MB / 0.5039 GB, free: 10.7 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.0009124/0.0009124, allocations: 73.67 kB / 0.7178 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5045/0.5054, allocations: 102 MB / 0.8174 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.00174/0.5071, allocations: 0.7198 MB / 0.8181 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.5084, allocations: 1.092 MB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.911e-05/0.5085, allocations: 3.5 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.85e-05/0.5085, allocations: 4.641 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.549e-05/0.5086, allocations: 13.38 kB / 0.8192 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.5089, allocations: 59.55 kB / 0.8192 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.509, allocations: 74.05 kB / 0.8193 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.5092, allocations: 16.81 kB / 0.8193 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.887e-05/0.5092, allocations: 26.47 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.95e-05/0.5093, allocations: 33.17 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.5093, allocations: 6.531 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.269e-05/0.5094, allocations: 18.77 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.5094, allocations: 18.7 kB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/0.5095, allocations: 20.7 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.5097, allocations: 85.75 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5097, allocations: 0 / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.645e-06/0.5097, allocations: 4 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.5097, allocations: 0.6094 kB / 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.000498/0.5102, allocations: 303.4 kB / 0.8198 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.5102, allocations: 13.81 kB / 0.8198 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.641e-05/0.5102, allocations: 37.3 kB / 0.8199 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.5103, allocations: 9.859 kB / 0.8199 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.115e-05/0.5104, allocations: 115.8 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.5104, allocations: 2.219 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.5104, allocations: 14.81 kB / 0.82 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.5106, allocations: 69.97 kB / 0.8201 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.5106, allocations: 4.656 kB / 0.8201 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.5106, allocations: 4.578 kB / 0.8201 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.5106, allocations: 6.234 kB / 0.8201 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.5107, allocations: 46.14 kB / 0.8201 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005694/0.5113, allocations: 273.9 kB / 0.8204 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.5115, allocations: 54.73 kB / 0.8205 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.645e-05/0.5115, allocations: 30.48 kB / 0.8205 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.5116, allocations: 3.906 kB / 0.8205 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.5118, allocations: 80.88 kB / 0.8206 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.903e-06/0.5118, allocations: 0 / 0.8206 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003061/0.5121, allocations: 128.9 kB / 0.8207 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.5122, allocations: 61.33 kB / 0.8207 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.203e-05/0.5123, allocations: 128.6 kB / 0.8209 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.5123, allocations: 25.7 kB / 0.8209 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.5123, allocations: 89.94 kB / 0.821 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.5123, allocations: 14.05 kB / 0.821 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.5124, allocations: 30.56 kB / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.946e-05/0.5125, allocations: 324.7 kB / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.25e-05/0.5125, allocations: 28.38 kB / 0.8214 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.155e-05/0.5126, allocations: 78.11 kB / 0.8214 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.5128, allocations: 106.8 kB / 0.8215 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.5128, allocations: 0.5156 kB / 0.8215 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001913/0.5129, allocations: 139.8 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.513, allocations: 5.406 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.513, allocations: 3.969 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.513, allocations: 0.7031 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/0.5131, allocations: 16.83 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.5131, allocations: 3.453 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.392e-05/0.5131, allocations: 15.97 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.5131, allocations: 4.875 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.717e-05/0.5132, allocations: 135.4 kB / 0.8218 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-06/0.5132, allocations: 7.047 kB / 0.8218 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.5132, allocations: 10.58 kB / 0.8219 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.5132, allocations: 1.531 kB / 0.8219 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.5133, allocations: 0.6562 kB / 0.8219 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.5133, allocations: 0.7812 kB / 0.8219 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/0.5136, allocations: 343.5 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.5136, allocations: 0.7031 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.5136, allocations: 8.734 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.5137, allocations: 0 / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.5137, allocations: 3.984 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.5137, allocations: 3.938 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5137, allocations: 0 / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.5138, allocations: 204.9 kB / 0.8224 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.5139, allocations: 7.922 kB / 0.8224 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.5139, allocations: 8.703 kB / 0.8224 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.776e-05/0.5139, allocations: 14.75 kB / 0.8224 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.514, allocations: 4.641 kB / 0.8224 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.514, allocations: 4.656 kB / 0.8224 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.46e-05/0.514, allocations: 97.45 kB / 0.8225 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.514, allocations: 0.9688 kB / 0.8225 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001882/0.5142, allocations: 17.42 kB / 0.8226 GB, free: 13.23 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.000457/0.5147, allocations: 0.7439 MB / 0.8233 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000182/0.5148, allocations: 78.98 kB / 0.8234 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5148, allocations: 0 / 0.8234 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.072e-05/0.5149, allocations: 30.56 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.0002007/0.5151, allocations: 19.53 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.001256/0.5164, allocations: 1.511 MB / 0.8249 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.382e-05/0.5164, allocations: 75.08 kB / 0.8249 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.532e-05/0.5164, allocations: 12.25 kB / 0.825 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.5165, allocations: 24.56 kB / 0.825 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/0.5165, allocations: 0 / 0.825 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.534, allocations: 2.686 MB / 0.8276 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.729/7.263, allocations: 4 kB / 0.8276 GB, free: 10.15 MB / 0.6198 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv --start-time 1 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.284983556251973] Failed to read output from testmodel.py, exit status != 0: 7.343700516037643 7.359412638 6.847270315 Calling exit ...