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.000923/0.000923, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009658/0.0009658, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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.9136/0.9136, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.7103/0.7103, allocations: 154.5 MB / 413.7 MB, free: 0.8398 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.618 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.648e-05, allocations: 4.953 kB / 0.618 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001254/0.001271, allocations: 0.7236 MB / 0.6187 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.002507, allocations: 1.197 MB / 0.6199 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.268e-05/0.002559, allocations: 0 / 0.6199 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 3.1e-05/0.00259, allocations: 3.938 kB / 0.6199 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 7.215e-05/0.002663, allocations: 11.88 kB / 0.6199 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004583/0.003121, allocations: 141.7 kB / 0.62 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.000155/0.003276, allocations: 127.7 kB / 0.6202 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.003394, allocations: 24.16 kB / 0.6202 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.003502, allocations: 71.89 kB / 0.6203 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 8.237e-05/0.003585, allocations: 43.86 kB / 0.6203 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.00361, allocations: 12 kB / 0.6203 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 6.357e-05/0.003673, allocations: 20 kB / 0.6203 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 3.043e-05/0.003704, allocations: 19.97 kB / 0.6204 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 6.492e-05/0.003769, allocations: 35.91 kB / 0.6204 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.003964, allocations: 147.6 kB / 0.6205 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.003967, allocations: 3.938 kB / 0.6205 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.363e-06/0.003968, allocations: 0 / 0.6205 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.003973, allocations: 0 / 0.6205 GB, free: 10.1 MB / 0.5417 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.0005021/0.004476, allocations: 343.8 kB / 0.6209 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.004516, allocations: 13.47 kB / 0.6209 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.156e-05/0.004547, allocations: 34.73 kB / 0.6209 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.922e-05/0.004626, allocations: 16.89 kB / 0.6209 GB, free: 9.66 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.981e-05/0.004706, allocations: 117.7 kB / 0.621 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.004722, allocations: 4.375 kB / 0.621 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.004739, allocations: 8.375 kB / 0.621 GB, free: 9.508 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.004883, allocations: 74.16 kB / 0.6211 GB, free: 9.43 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.00489, allocations: 192 / 0.6211 GB, free: 9.43 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.004901, allocations: 8.359 kB / 0.6211 GB, free: 9.422 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.004908, allocations: 11.88 kB / 0.6211 GB, free: 9.41 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.00501, allocations: 43.95 kB / 0.6212 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.005408, allocations: 291.8 kB / 0.6215 GB, free: 9.039 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.005527, allocations: 54.55 kB / 0.6215 GB, free: 8.977 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.141e-05/0.005579, allocations: 24.97 kB / 0.6215 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.005598, allocations: 7.938 kB / 0.6215 GB, free: 8.941 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.005769, allocations: 95.31 kB / 0.6216 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 2.605e-06/0.005771, allocations: 3.984 kB / 0.6216 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0002925/0.006064, allocations: 153.6 kB / 0.6218 GB, free: 8.676 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.006101, allocations: 55.39 kB / 0.6218 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.915e-05/0.00617, allocations: 117.8 kB / 0.6219 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.00619, allocations: 33.69 kB / 0.622 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.00624, allocations: 100.1 kB / 0.6221 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.006255, allocations: 11.84 kB / 0.6221 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/0.006307, allocations: 41.69 kB / 0.6221 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.006411, allocations: 322.8 kB / 0.6224 GB, free: 7.961 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.006548, allocations: 81.66 kB / 0.6225 GB, free: 7.875 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.006667, allocations: 118.8 kB / 0.6226 GB, free: 7.734 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.006832, allocations: 158.7 kB / 0.6228 GB, free: 7.555 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.006834, allocations: 0 / 0.6228 GB, free: 7.555 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002665/0.0071, allocations: 240.8 kB / 0.623 GB, free: 7.301 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.007132, allocations: 37.84 kB / 0.623 GB, free: 7.258 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.007137, allocations: 8 kB / 0.623 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.00715, allocations: 0 / 0.623 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.007215, allocations: 15.98 kB / 0.6231 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.007222, allocations: 4 kB / 0.6231 GB, free: 7.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.007326, allocations: 35.92 kB / 0.6231 GB, free: 7.195 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.007342, allocations: 8.297 kB / 0.6231 GB, free: 7.188 MB / 0.5417 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 7.429e-05/0.007416, allocations: 130.7 kB / 0.6232 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-06/0.007424, allocations: 4 kB / 0.6232 GB, free: 7.047 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.007609, allocations: 130 kB / 0.6234 GB, free: 6.91 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.007612, allocations: 0 / 0.6234 GB, free: 6.91 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.007616, allocations: 4 kB / 0.6234 GB, free: 6.906 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.007619, allocations: 0 / 0.6234 GB, free: 6.906 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.007879, allocations: 357.3 kB / 0.6237 GB, free: 6.508 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.00788, allocations: 0 / 0.6237 GB, free: 6.508 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.023e-05/0.00791, allocations: 15.98 kB / 0.6237 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.007912, allocations: 0 / 0.6237 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.007919, allocations: 0 / 0.6237 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.00792, allocations: 0 / 0.6237 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.007921, allocations: 0 / 0.6237 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.008087, allocations: 227.2 kB / 0.6239 GB, free: 6.254 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-06/0.008095, allocations: 7.984 kB / 0.6239 GB, free: 6.246 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.008106, allocations: 4 kB / 0.6239 GB, free: 6.242 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.037e-05/0.008147, allocations: 8 kB / 0.624 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.008182, allocations: 7.984 kB / 0.624 GB, free: 6.227 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.008188, allocations: 0 / 0.624 GB, free: 6.227 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.955e-05/0.008228, allocations: 102.3 kB / 0.6241 GB, free: 6.129 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.008228, allocations: 0 / 0.6241 GB, free: 6.129 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001852/0.008413, allocations: 27.95 kB / 0.6241 GB, free: 6.102 MB / 0.5417 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.0003806/0.008794, allocations: 0.7476 MB / 0.6248 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002389/0.009033, allocations: 196.9 kB / 0.625 GB, free: 5.117 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.009034, allocations: 0 / 0.625 GB, free: 5.117 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.095e-05/0.009095, allocations: 35.98 kB / 0.625 GB, free: 5.082 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.009281, allocations: 11.98 kB / 0.6251 GB, free: 5.07 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.01063, allocations: 1.842 MB / 0.6269 GB, free: 3.082 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.791e-05/0.01067, allocations: 79.08 kB / 0.6269 GB, free: 2.984 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.483e-05/0.0107, allocations: 4 kB / 0.6269 GB, free: 2.98 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.01073, allocations: 24.5 kB / 0.627 GB, free: 2.957 MB / 0.5417 GB Notification: Performance of SimCode: time 6.51e-07/0.01073, allocations: 0 / 0.627 GB, free: 2.957 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.02986, allocations: 3.346 MB / 0.6302 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.685/6.715, allocations: 5.797 kB / 0.6302 GB, free: 15.79 MB / 0.5573 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.385863694362342] Failed to read output from testmodel.py, exit status != 0: 6.79812977835536 6.808861507 6.802946507 Calling exit ...