Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001152/0.001152, 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.0009146/0.0009146, 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.9547/0.9547, allocations: 230.6 MB / 256 MB, free: 9.598 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.7855/0.7855, 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.SampleTrigger,fileNamePrefix="IDEAS_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_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",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.001331/0.001331, allocations: 73.92 kB / 0.7178 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.521/0.5224, allocations: 102 MB / 0.8174 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001866/0.5242, allocations: 0.7296 MB / 0.8181 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.5253, allocations: 1.093 MB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.682e-05/0.5253, allocations: 0 / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.241e-05/0.5254, allocations: 4.734 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.465e-05/0.5254, allocations: 17.05 kB / 0.8192 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.5257, allocations: 55 kB / 0.8192 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.5259, allocations: 68.95 kB / 0.8193 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.526, allocations: 19.92 kB / 0.8193 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.055e-05/0.526, allocations: 26.27 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.175e-05/0.5261, allocations: 33.48 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.5261, allocations: 5.938 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.205e-05/0.5262, allocations: 13.83 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.5262, allocations: 23.88 kB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.5262, allocations: 18.28 kB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.5264, allocations: 95.05 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5264, allocations: 0 / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.264e-06/0.5264, allocations: 0 / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.5264, 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.0004462/0.5268, allocations: 307.9 kB / 0.8198 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.5269, allocations: 10.08 kB / 0.8198 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.221e-05/0.5269, allocations: 34.36 kB / 0.8199 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.5269, allocations: 8.078 kB / 0.8199 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.34e-05/0.527, allocations: 116.2 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.5271, allocations: 7.734 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.5271, allocations: 7.125 kB / 0.82 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.5272, allocations: 73.97 kB / 0.8201 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.5272, allocations: 0 / 0.8201 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.5273, allocations: 4.656 kB / 0.8201 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.5273, allocations: 2.062 kB / 0.8201 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.5274, allocations: 39.91 kB / 0.8201 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.5279, allocations: 289.5 kB / 0.8204 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.528, allocations: 49.41 kB / 0.8204 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.723e-05/0.5281, allocations: 25.94 kB / 0.8205 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.5281, allocations: 3.969 kB / 0.8205 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.5283, allocations: 88.47 kB / 0.8206 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.674e-06/0.5283, allocations: 0 / 0.8206 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002767/0.5286, allocations: 127.6 kB / 0.8207 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.5286, allocations: 55.17 kB / 0.8207 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.01e-05/0.5287, allocations: 127.5 kB / 0.8209 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.5287, allocations: 29.7 kB / 0.8209 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.5288, allocations: 92.52 kB / 0.821 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.5288, allocations: 16.45 kB / 0.821 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.5288, allocations: 29.66 kB / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.88e-05/0.5289, allocations: 323.2 kB / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.841e-05/0.529, allocations: 35.94 kB / 0.8214 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.077e-05/0.5291, allocations: 79.45 kB / 0.8214 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.5292, allocations: 104 kB / 0.8215 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5292, allocations: 5.156 kB / 0.8215 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001848/0.5294, allocations: 126.2 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.5294, allocations: 12.41 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5294, allocations: 0.7031 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.5294, allocations: 7.859 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.378e-05/0.5295, allocations: 18.97 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.5295, allocations: 2.859 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.323e-05/0.5295, allocations: 15.91 kB / 0.8217 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.5296, allocations: 7.688 kB / 0.8217 GB, free: 13.94 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 6.919e-05/0.5296, allocations: 128 kB / 0.8218 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-06/0.5296, allocations: 6.953 kB / 0.8218 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/0.5297, allocations: 9.031 kB / 0.8219 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5297, allocations: 4.203 kB / 0.8219 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5297, allocations: 0 / 0.8219 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5297, allocations: 0.6562 kB / 0.8219 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.53, allocations: 342.5 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.53, allocations: 0 / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.867e-05/0.53, allocations: 10.25 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.53, allocations: 0 / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.53, allocations: 0 / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.53, allocations: 4.688 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.53, allocations: 1.125 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.5302, allocations: 206.7 kB / 0.8224 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.062e-05/0.5302, allocations: 10.16 kB / 0.8224 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.5302, allocations: 2.172 kB / 0.8224 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.313e-05/0.5303, allocations: 13.14 kB / 0.8224 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.5303, allocations: 14.81 kB / 0.8224 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.5303, allocations: 1.062 kB / 0.8224 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.709e-05/0.5304, allocations: 94.61 kB / 0.8225 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5304, allocations: 7.875 kB / 0.8225 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001667/0.5305, allocations: 10.69 kB / 0.8225 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.0003947/0.5309, allocations: 0.7422 MB / 0.8233 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001733/0.5311, allocations: 79.16 kB / 0.8233 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.5311, allocations: 0.9375 kB / 0.8233 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.067e-05/0.5312, allocations: 31.97 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.0001951/0.5313, allocations: 20.66 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.001192/0.5325, allocations: 1.512 MB / 0.8249 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.622e-05/0.5326, allocations: 76.44 kB / 0.8249 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.569e-05/0.5326, allocations: 13.36 kB / 0.825 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.141e-05/0.5327, allocations: 21.72 kB / 0.825 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of SimCode: time 4.41e-07/0.5327, allocations: 0 / 0.825 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01495/0.5476, allocations: 2.677 MB / 0.8276 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.594/7.142, allocations: 2.234 kB / 0.8276 GB, free: 10.13 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.175608719699085] Failed to read output from testmodel.py, exit status != 0: 7.223185606766492 7.238849804 6.710257515 Calling exit ...