Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001239/0.001239, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009137/0.0009137, allocations: 213.7 kB / 22.25 MB, free: 3.711 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.9559/0.9559, allocations: 230.6 MB / 256 MB, free: 9.809 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7851/0.7851, allocations: 203.8 MB / 0.5042 GB, free: 10.69 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_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_dev_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.0009153/0.0009153, allocations: 70.84 kB / 0.7182 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5057/0.5067, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001439/0.5081, allocations: 0.7433 MB / 0.8186 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008816/0.509, allocations: 1.115 MB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/0.509, allocations: 0 / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.5091, allocations: 8.625 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.339e-05/0.5091, allocations: 11.45 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.5094, allocations: 52.12 kB / 0.8198 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.5095, allocations: 78.48 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.5096, allocations: 23.67 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.5097, allocations: 26.58 kB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.572e-05/0.5097, allocations: 33.45 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.5098, allocations: 5.812 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.533e-05/0.5098, allocations: 19.92 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.5098, allocations: 21.8 kB / 0.82 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.5099, allocations: 24.72 kB / 0.82 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.51, allocations: 84.8 kB / 0.8201 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.51, allocations: 0 / 0.8201 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.102e-06/0.51, allocations: 0 / 0.8201 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.51, allocations: 4 kB / 0.8201 GB, free: 15.77 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.0004201/0.5104, allocations: 304 kB / 0.8204 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.5105, allocations: 12.64 kB / 0.8204 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.988e-05/0.5105, allocations: 35.41 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.5105, allocations: 9.609 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.827e-05/0.5106, allocations: 117.8 kB / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.5106, allocations: 384 / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.5106, allocations: 12.2 kB / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.5108, allocations: 81.38 kB / 0.8206 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.5108, allocations: 0 / 0.8206 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.5108, allocations: 0 / 0.8206 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.5108, allocations: 1.406 kB / 0.8206 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.5109, allocations: 44.39 kB / 0.8207 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/0.5114, allocations: 297.5 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.5115, allocations: 54.11 kB / 0.821 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.842e-05/0.5116, allocations: 28.25 kB / 0.821 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.5116, allocations: 0.6562 kB / 0.821 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/0.5117, allocations: 83.11 kB / 0.8211 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.5117, allocations: 0 / 0.8211 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002913/0.512, allocations: 126.4 kB / 0.8212 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.5121, allocations: 53.42 kB / 0.8213 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.607e-05/0.5122, allocations: 127 kB / 0.8214 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.5122, allocations: 30.31 kB / 0.8214 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.5122, allocations: 98.94 kB / 0.8215 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.5123, allocations: 15.42 kB / 0.8215 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.5123, allocations: 29.48 kB / 0.8216 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.766e-05/0.5124, allocations: 319.9 kB / 0.8219 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.421e-05/0.5125, allocations: 29.8 kB / 0.8219 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.777e-05/0.5126, allocations: 76.36 kB / 0.822 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.5127, allocations: 113.8 kB / 0.8221 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5127, allocations: 0 / 0.8221 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001956/0.5129, allocations: 124.5 kB / 0.8222 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.5129, allocations: 8.375 kB / 0.8222 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.5129, allocations: 4 kB / 0.8222 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.513, allocations: 3.875 kB / 0.8222 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.759e-05/0.5131, allocations: 23.23 kB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.5131, allocations: 3.516 kB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.982e-05/0.5131, allocations: 11.98 kB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.5131, allocations: 4 kB / 0.8222 GB, free: 13.91 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 8.147e-05/0.5132, allocations: 131.2 kB / 0.8224 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-06/0.5132, allocations: 7.359 kB / 0.8224 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.5133, allocations: 14.89 kB / 0.8224 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5133, allocations: 1.188 kB / 0.8224 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5133, allocations: 3.938 kB / 0.8224 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.5133, allocations: 0.7031 kB / 0.8224 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003616/0.5136, allocations: 345 kB / 0.8227 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5136, allocations: 0 / 0.8227 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-05/0.5137, allocations: 23 kB / 0.8228 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5137, allocations: 5.125 kB / 0.8228 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.5137, allocations: 2.047 kB / 0.8228 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.5137, allocations: 3.938 kB / 0.8228 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5137, allocations: 0.5625 kB / 0.8228 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.5139, allocations: 195.2 kB / 0.823 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.5139, allocations: 9.25 kB / 0.823 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.5139, allocations: 5.688 kB / 0.823 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.088e-05/0.5139, allocations: 8.906 kB / 0.823 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.514, allocations: 10.33 kB / 0.823 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.514, allocations: 0.5156 kB / 0.823 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.762e-05/0.514, allocations: 92.8 kB / 0.8231 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.514, allocations: 0 / 0.8231 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001762/0.5142, allocations: 18.31 kB / 0.8231 GB, free: 13.19 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.0003932/0.5146, allocations: 0.7397 MB / 0.8238 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001751/0.5147, allocations: 72.81 kB / 0.8239 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.5147, allocations: 1.562 kB / 0.8239 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.609e-05/0.5148, allocations: 41.09 kB / 0.8239 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.515, allocations: 11.27 kB / 0.8239 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.5166, allocations: 1.527 MB / 0.8254 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.5168, allocations: 0.6899 MB / 0.8261 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.153e-05/0.5169, allocations: 8 kB / 0.8261 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.5169, allocations: 23.47 kB / 0.8261 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of SimCode: time 6.22e-07/0.5169, allocations: 0 / 0.8261 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.5318, allocations: 2.225 MB / 0.8283 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.666/7.198, allocations: 15.77 kB / 0.8283 GB, free: 9.891 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.192029924830422] Failed to read output from testmodel.py, exit status != 0: 7.272397983120754 7.282413131 6.770457128 Calling exit ...