Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008118/0.0008118, 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.0009085/0.0009085, allocations: 208.1 kB / 22.24 MB, free: 3.59 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.9926/0.9926, allocations: 230.6 MB / 256 MB, free: 9.621 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.793/0.793, allocations: 203.8 MB / 0.5042 GB, free: 10.47 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.SampleTriggerPositiveStartTime,fileNamePrefix="IDEAS_dev_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_dev_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.0009491/0.0009491, allocations: 67.3 kB / 0.7182 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4895/0.4905, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001375/0.4918, allocations: 0.7271 MB / 0.8185 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009621/0.4928, allocations: 1.092 MB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.19e-05/0.4928, allocations: 3.469 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.116e-05/0.4929, allocations: 8.672 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.73e-05/0.4929, allocations: 17.31 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.4932, allocations: 46.22 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.4933, allocations: 83.77 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.4934, allocations: 18.59 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.96e-05/0.4935, allocations: 27.17 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.4935, allocations: 33.12 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.4936, allocations: 5.562 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.989e-05/0.4936, allocations: 19.36 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.389e-05/0.4936, allocations: 17.06 kB / 0.8199 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.4937, allocations: 21.22 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.4938, allocations: 81.19 kB / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4938, allocations: 0 / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4938, allocations: 0 / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.4938, allocations: 4 kB / 0.82 GB, free: 15.6 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.0004144/0.4942, allocations: 302.9 kB / 0.8202 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.4943, allocations: 14.81 kB / 0.8203 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.258e-05/0.4943, allocations: 43.56 kB / 0.8203 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.4943, allocations: 9.312 kB / 0.8203 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.273e-05/0.4944, allocations: 120.4 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.4944, allocations: 7.594 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.4944, allocations: 3.281 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.4946, allocations: 70.47 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.4946, allocations: 4 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.4946, allocations: 0.6094 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4946, allocations: 3.938 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.53e-05/0.4947, allocations: 43.58 kB / 0.8205 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.4951, allocations: 273.3 kB / 0.8208 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.4953, allocations: 58.81 kB / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.4953, allocations: 30.58 kB / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.4953, allocations: 1.344 kB / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.4955, allocations: 81.98 kB / 0.821 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.4955, allocations: 0 / 0.821 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002821/0.4958, allocations: 129.8 kB / 0.8211 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.4958, allocations: 53.34 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.512e-05/0.4959, allocations: 132.8 kB / 0.8213 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.4959, allocations: 30.77 kB / 0.8213 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.496, allocations: 90.14 kB / 0.8214 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.496, allocations: 10.94 kB / 0.8214 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.496, allocations: 34.89 kB / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.68e-05/0.4961, allocations: 322.5 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.499e-05/0.4962, allocations: 27.91 kB / 0.8218 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-05/0.4962, allocations: 76.61 kB / 0.8218 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.4964, allocations: 111.9 kB / 0.8219 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4964, allocations: 0 / 0.8219 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001837/0.4966, allocations: 134.1 kB / 0.8221 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.4966, allocations: 8.547 kB / 0.8221 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.4966, allocations: 0 / 0.8221 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.4966, allocations: 2.906 kB / 0.8221 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.794e-05/0.4967, allocations: 20.7 kB / 0.8221 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.4967, allocations: 2.953 kB / 0.8221 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.568e-05/0.4967, allocations: 15.72 kB / 0.8221 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.4967, allocations: 12.78 kB / 0.8221 GB, free: 13.74 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.626e-05/0.4968, allocations: 125.6 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.4968, allocations: 6.172 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.4969, allocations: 11.12 kB / 0.8223 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-06/0.4969, allocations: 1.672 kB / 0.8223 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4969, allocations: 0 / 0.8223 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4969, allocations: 1.812 kB / 0.8223 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.4972, allocations: 339.9 kB / 0.8226 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4972, allocations: 0 / 0.8226 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.655e-05/0.4973, allocations: 12.02 kB / 0.8226 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.4973, allocations: 2.625 kB / 0.8226 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.4973, allocations: 0.7969 kB / 0.8226 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.4973, allocations: 3.938 kB / 0.8226 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4973, allocations: 4.016 kB / 0.8226 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.4975, allocations: 203.1 kB / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.129e-05/0.4975, allocations: 11.73 kB / 0.8228 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.4975, allocations: 0.7969 kB / 0.8228 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.851e-05/0.4975, allocations: 13.47 kB / 0.8228 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.4976, allocations: 9.828 kB / 0.8229 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.4976, allocations: 2.719 kB / 0.8229 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.549e-05/0.4976, allocations: 104.4 kB / 0.823 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4976, allocations: 0 / 0.823 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001857/0.4978, allocations: 12 kB / 0.823 GB, free: 13.04 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.0004921/0.4983, allocations: 0.7452 MB / 0.8237 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001833/0.4985, allocations: 77.09 kB / 0.8238 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4985, allocations: 0.9688 kB / 0.8238 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.501e-05/0.4986, allocations: 32.62 kB / 0.8238 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.4988, allocations: 19.89 kB / 0.8238 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.5, allocations: 1.516 MB / 0.8253 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.366e-05/0.5, allocations: 76.58 kB / 0.8254 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.645e-05/0.5, allocations: 14.11 kB / 0.8254 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.532e-05/0.5001, allocations: 26.48 kB / 0.8254 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of SimCode: time 6.42e-07/0.5001, allocations: 0 / 0.8254 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.5169, allocations: 2.681 MB / 0.828 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.589/7.106, allocations: 8 kB / 0.828 GB, free: 9.945 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.155752164311707] Failed to read output from testmodel.py, exit status != 0: 7.186359723098576 7.205581409 6.708417566 Calling exit ...