Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001017/0.001017, 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.0009374/0.0009374, allocations: 223.6 kB / 22.26 MB, free: 3.695 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.9519/0.9519, allocations: 230.6 MB / 256 MB, free: 9.793 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.8161/0.8161, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.Discrete.Validation.TriggeredSampler,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",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.0009036/0.0009036, allocations: 70.83 kB / 0.7182 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5083/0.5092, allocations: 102 MB / 0.8178 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001525/0.5108, allocations: 0.7644 MB / 0.8186 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.5119, allocations: 1.215 MB / 0.8198 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.992e-05/0.5119, allocations: 0 / 0.8198 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.796e-05/0.5119, allocations: 5.297 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.907e-05/0.512, allocations: 11.72 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.5125, allocations: 142.9 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.5127, allocations: 130.3 kB / 0.82 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.5128, allocations: 14.52 kB / 0.8201 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.586e-05/0.5129, allocations: 50.42 kB / 0.8201 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.513, allocations: 55.05 kB / 0.8202 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.513, allocations: 11.47 kB / 0.8202 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.813e-05/0.5131, allocations: 27.22 kB / 0.8202 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.5131, allocations: 18.34 kB / 0.8202 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.473e-05/0.5132, allocations: 43.25 kB / 0.8203 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.5134, allocations: 134.4 kB / 0.8204 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.5134, allocations: 0 / 0.8204 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5134, allocations: 0 / 0.8204 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.5134, allocations: 0 / 0.8204 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005322/0.5139, allocations: 349.7 kB / 0.8207 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.514, allocations: 7.844 kB / 0.8207 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.851e-05/0.514, allocations: 43.8 kB / 0.8208 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.29e-05/0.5141, allocations: 13.25 kB / 0.8208 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.534e-05/0.5142, allocations: 116.8 kB / 0.8209 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.5142, allocations: 5.578 kB / 0.8209 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.5142, allocations: 15.48 kB / 0.8209 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.5144, allocations: 72.62 kB / 0.821 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.5144, allocations: 2.094 kB / 0.821 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.5144, allocations: 3.938 kB / 0.821 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.5144, allocations: 4.875 kB / 0.821 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.5145, allocations: 45.75 kB / 0.821 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.5149, allocations: 318 kB / 0.8213 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.5151, allocations: 60.03 kB / 0.8214 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.39e-05/0.5151, allocations: 29.02 kB / 0.8214 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.5151, allocations: 4.594 kB / 0.8214 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001916/0.5153, allocations: 92.19 kB / 0.8215 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.5153, allocations: 0 / 0.8215 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.000283/0.5156, allocations: 146.2 kB / 0.8217 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.5157, allocations: 54.48 kB / 0.8217 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.316e-05/0.5157, allocations: 126.2 kB / 0.8218 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.5157, allocations: 32.42 kB / 0.8219 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.5158, allocations: 91.78 kB / 0.8219 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.5158, allocations: 23.55 kB / 0.822 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/0.5159, allocations: 38.31 kB / 0.822 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.737e-05/0.516, allocations: 326 kB / 0.8223 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.976e-05/0.5161, allocations: 46.41 kB / 0.8224 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.5162, allocations: 91.59 kB / 0.8224 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.5163, allocations: 157.2 kB / 0.8226 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5163, allocations: 0 / 0.8226 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002895/0.5166, allocations: 212.4 kB / 0.8228 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/0.5167, allocations: 41.53 kB / 0.8228 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5167, allocations: 4.156 kB / 0.8228 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.5167, allocations: 6.719 kB / 0.8228 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.622e-05/0.5168, allocations: 13.2 kB / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.5168, allocations: 3.906 kB / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.5169, allocations: 33.33 kB / 0.8229 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.5169, allocations: 12.28 kB / 0.8229 GB, free: 13.56 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.332e-05/0.517, allocations: 132.3 kB / 0.823 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-06/0.517, allocations: 6.391 kB / 0.823 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.5172, allocations: 123 kB / 0.8232 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.5172, allocations: 1.125 kB / 0.8232 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.5172, allocations: 3.938 kB / 0.8232 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5172, allocations: 2.156 kB / 0.8232 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.5175, allocations: 363.5 kB / 0.8235 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5175, allocations: 0 / 0.8235 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.249e-05/0.5176, allocations: 7.422 kB / 0.8235 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.5176, allocations: 0 / 0.8235 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.5176, allocations: 1.438 kB / 0.8235 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.5176, allocations: 3.938 kB / 0.8235 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5176, allocations: 1.906 kB / 0.8235 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.5177, allocations: 219.4 kB / 0.8237 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.5177, allocations: 13.14 kB / 0.8237 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.5178, allocations: 1.469 kB / 0.8237 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.392e-05/0.5178, allocations: 15.02 kB / 0.8238 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.5178, allocations: 5.312 kB / 0.8238 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.5178, allocations: 2.75 kB / 0.8238 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.581e-05/0.5179, allocations: 92.33 kB / 0.8239 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5179, allocations: 0 / 0.8239 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001799/0.5181, allocations: 29.88 kB / 0.8239 GB, free: 12.78 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.00041/0.5185, allocations: 0.7402 MB / 0.8246 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002667/0.5187, allocations: 169 kB / 0.8248 GB, free: 12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5187, allocations: 0 / 0.8248 GB, free: 12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.104e-05/0.5188, allocations: 33.38 kB / 0.8248 GB, free: 12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.519, allocations: 25.95 kB / 0.8248 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.5205, allocations: 1.721 MB / 0.8265 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.5207, allocations: 0.697 MB / 0.8272 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.415e-05/0.5207, allocations: 9.594 kB / 0.8272 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.2e-05/0.5208, allocations: 20.25 kB / 0.8272 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of SimCode: time 7.81e-07/0.5208, allocations: 0 / 0.8272 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.5425, allocations: 2.696 MB / 0.8299 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.725/7.267, allocations: 10.3 kB / 0.8299 GB, free: 9.297 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.227072497131303] Failed to read output from testmodel.py, exit status != 0: 7.346978247864172 7.359317259 6.843738996 Calling exit ...