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.0007025/0.0007025, allocations: 101.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.001193/0.001193, allocations: 209.2 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.9825/0.9825, allocations: 230.6 MB / 256 MB, free: 9.582 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.7702/0.7702, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.0009743/0.0009743, allocations: 78.97 kB / 0.7181 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.501/0.5019, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001474/0.5034, allocations: 0.7355 MB / 0.8185 GB, free: 0.5586 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.5045, allocations: 1.189 MB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.991e-05/0.5045, allocations: 0 / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.5046, allocations: 4.5 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.36e-05/0.5046, allocations: 10.39 kB / 0.8197 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.5051, allocations: 150.3 kB / 0.8198 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.5052, allocations: 129.2 kB / 0.8199 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.5054, allocations: 12.42 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.372e-05/0.5054, allocations: 60.73 kB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.677e-05/0.5055, allocations: 40.84 kB / 0.82 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.5056, allocations: 9.844 kB / 0.8201 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.587e-05/0.5056, allocations: 26.2 kB / 0.8201 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.651e-05/0.5056, allocations: 20.67 kB / 0.8201 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.735e-05/0.5057, allocations: 42.88 kB / 0.8201 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.5059, allocations: 123.3 kB / 0.8203 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.5059, allocations: 5.469 kB / 0.8203 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5059, allocations: 0 / 0.8203 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.5059, allocations: 0 / 0.8203 GB, free: 15.42 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.0004934/0.5064, allocations: 348.7 kB / 0.8206 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.5065, allocations: 9.766 kB / 0.8206 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.912e-05/0.5065, allocations: 34.48 kB / 0.8206 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.998e-05/0.5066, allocations: 11.36 kB / 0.8207 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.048e-05/0.5066, allocations: 116.8 kB / 0.8208 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.5067, allocations: 8.844 kB / 0.8208 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.5067, allocations: 15.66 kB / 0.8208 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.5068, allocations: 77.88 kB / 0.8209 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.5068, allocations: 0 / 0.8209 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.5069, allocations: 0.7031 kB / 0.8209 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.5069, allocations: 2.688 kB / 0.8209 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.507, allocations: 47.86 kB / 0.8209 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.5074, allocations: 296.5 kB / 0.8212 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.5076, allocations: 62 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.611e-05/0.5076, allocations: 28.91 kB / 0.8213 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.5076, allocations: 0 / 0.8213 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/0.5079, allocations: 92.81 kB / 0.8214 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.174e-06/0.5079, allocations: 1.25 kB / 0.8214 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003236/0.5082, allocations: 153.7 kB / 0.8215 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.5082, allocations: 55.14 kB / 0.8216 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.249e-05/0.5083, allocations: 126.9 kB / 0.8217 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.5083, allocations: 31.14 kB / 0.8217 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/0.5084, allocations: 94.16 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.5084, allocations: 14.09 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.676e-05/0.5085, allocations: 40.38 kB / 0.8219 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.042e-05/0.5086, allocations: 323.5 kB / 0.8222 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.5087, allocations: 82.45 kB / 0.8222 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.5088, allocations: 121.9 kB / 0.8224 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.509, allocations: 147.9 kB / 0.8225 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.509, allocations: 0 / 0.8225 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003006/0.5093, allocations: 249.3 kB / 0.8227 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.5093, allocations: 40.16 kB / 0.8228 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.5093, allocations: 1.5 kB / 0.8228 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.5094, allocations: 1.219 kB / 0.8228 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.023e-05/0.5094, allocations: 13.83 kB / 0.8228 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.5094, allocations: 3.031 kB / 0.8228 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.5096, allocations: 43.05 kB / 0.8228 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.5096, allocations: 12.09 kB / 0.8229 GB, free: 13.3 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.853e-05/0.5097, allocations: 122.4 kB / 0.823 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.5097, allocations: 7.266 kB / 0.823 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.5099, allocations: 129.2 kB / 0.8231 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.5099, allocations: 0.9375 kB / 0.8231 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5099, allocations: 3.938 kB / 0.8231 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.5099, allocations: 6.016 kB / 0.8231 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/0.5103, allocations: 347.4 kB / 0.8234 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5103, allocations: 0 / 0.8234 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.524e-05/0.5103, allocations: 9.75 kB / 0.8234 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.5103, allocations: 5.094 kB / 0.8235 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.5104, allocations: 4.094 kB / 0.8235 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.5104, allocations: 3.938 kB / 0.8235 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.5104, allocations: 1.125 kB / 0.8235 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.5106, allocations: 218.4 kB / 0.8237 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.5106, allocations: 19.33 kB / 0.8237 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.5106, allocations: 3 kB / 0.8237 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.126e-05/0.5107, allocations: 8.594 kB / 0.8237 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/0.5107, allocations: 5.422 kB / 0.8237 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.5107, allocations: 9.25 kB / 0.8237 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.136e-05/0.5108, allocations: 91.62 kB / 0.8238 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5108, allocations: 0 / 0.8238 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001977/0.511, allocations: 20.56 kB / 0.8238 GB, free: 12.53 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.0004666/0.5114, allocations: 0.7528 MB / 0.8246 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002881/0.5117, allocations: 201 kB / 0.8247 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5117, allocations: 0 / 0.8247 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.961e-05/0.5118, allocations: 33.09 kB / 0.8248 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.512, allocations: 24.3 kB / 0.8248 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.5135, allocations: 1.833 MB / 0.8266 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.866e-05/0.5136, allocations: 84.55 kB / 0.8267 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.662e-05/0.5136, allocations: 9.828 kB / 0.8267 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.5137, allocations: 21.23 kB / 0.8267 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of SimCode: time 5.81e-07/0.5137, allocations: 0 / 0.8267 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02/0.5337, allocations: 3.217 MB / 0.8298 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.302/6.836, allocations: 12.78 kB / 0.8299 GB, free: 9.031 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: 9.806005431804806] Failed to read output from testmodel.py, exit status != 0: 6.912670048885047 6.924372075 6.416223719 Calling exit ...