Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.0009191/0.0009191, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.00104/0.00104, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9242/0.9242, allocations: 177.2 MB / 202.8 MB, free: 5.742 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.7173/0.7173, allocations: 154.5 MB / 413.7 MB, free: 0.8594 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.Integers.Sources.Validation.Pulse,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.266e-05, allocations: 4.812 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001504/0.001527, allocations: 0.9149 MB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.002874, allocations: 1.466 MB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.258e-05/0.002937, allocations: 0 / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.849e-05/0.002975, allocations: 15.75 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.003101, allocations: 67.5 kB / 0.6205 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007571/0.003858, allocations: 447.9 kB / 0.6209 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003914/0.00425, allocations: 495 kB / 0.6214 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.004381, allocations: 29.94 kB / 0.6214 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.004615, allocations: 255.6 kB / 0.6216 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.004783, allocations: 143.6 kB / 0.6218 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.827e-05/0.004832, allocations: 52 kB / 0.6218 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.48e-05/0.004917, allocations: 59.92 kB / 0.6219 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.316e-05/0.00495, allocations: 39.84 kB / 0.6219 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.005054, allocations: 135.8 kB / 0.622 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000416/0.00547, allocations: 0.5572 MB / 0.6226 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.005474, allocations: 4 kB / 0.6226 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.32e-07/0.005475, allocations: 0 / 0.6226 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.005481, allocations: 0 / 0.6226 GB, free: 9.09 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006228/0.006104, allocations: 0.5625 MB / 0.6231 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.006144, allocations: 9.469 kB / 0.6231 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.827e-05/0.006172, allocations: 46.69 kB / 0.6232 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.198e-05/0.006244, allocations: 28.8 kB / 0.6232 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.006373, allocations: 172.9 kB / 0.6234 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.006397, allocations: 12.38 kB / 0.6234 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/0.006437, allocations: 24.38 kB / 0.6234 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.006601, allocations: 120.7 kB / 0.6235 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.006609, allocations: 4.125 kB / 0.6235 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.006621, allocations: 8.375 kB / 0.6235 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.006627, allocations: 4.125 kB / 0.6235 GB, free: 8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.561e-05/0.006713, allocations: 59.89 kB / 0.6236 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006718/0.007385, allocations: 0.7462 MB / 0.6243 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.0075, allocations: 114.4 kB / 0.6244 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.007552, allocations: 51.48 kB / 0.6245 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.007561, allocations: 0 / 0.6245 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.007778, allocations: 182.5 kB / 0.6247 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 8.22e-07/0.007779, allocations: 0 / 0.6247 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.0003334/0.008112, allocations: 225.4 kB / 0.6249 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.008172, allocations: 144.5 kB / 0.625 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.008352, allocations: 245.6 kB / 0.6253 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.008388, allocations: 37.7 kB / 0.6253 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.322e-05/0.008462, allocations: 124.6 kB / 0.6254 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.008486, allocations: 35.78 kB / 0.6254 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.008591, allocations: 89.66 kB / 0.6255 GB, free: 5.781 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.987e-05/0.008681, allocations: 338.8 kB / 0.6258 GB, free: 5.441 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.008939, allocations: 267 kB / 0.6261 GB, free: 5.152 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.009207, allocations: 358.1 kB / 0.6264 GB, free: 4.742 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.009499, allocations: 372.9 kB / 0.6268 GB, free: 4.316 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.009504, allocations: 4 kB / 0.6268 GB, free: 4.312 MB / 0.5886 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006578/0.01016, allocations: 0.6825 MB / 0.6275 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.778e-05/0.01024, allocations: 134.8 kB / 0.6276 GB, free: 3.418 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.01025, allocations: 4 kB / 0.6276 GB, free: 3.414 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.01026, allocations: 4 kB / 0.6276 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/0.01033, allocations: 15.98 kB / 0.6276 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.01033, allocations: 7.938 kB / 0.6276 GB, free: 3.387 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.01067, allocations: 107.8 kB / 0.6277 GB, free: 3.281 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/0.0107, allocations: 31.97 kB / 0.6278 GB, free: 3.25 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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 0.000112/0.01081, allocations: 154.6 kB / 0.6279 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.01084, allocations: 27.8 kB / 0.6279 GB, free: 3.062 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.01087, allocations: 21.33 kB / 0.628 GB, free: 3.039 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.01087, allocations: 4 kB / 0.628 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.01088, allocations: 4 kB / 0.628 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.01088, allocations: 4.938 kB / 0.628 GB, free: 3.027 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.01104, allocations: 208.6 kB / 0.6282 GB, free: 2.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01105, allocations: 4 kB / 0.6282 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.326e-05/0.01107, allocations: 12 kB / 0.6282 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.01107, allocations: 0 / 0.6282 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.01108, allocations: 8 kB / 0.6282 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.01109, allocations: 3.984 kB / 0.6282 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.01109, allocations: 7.938 kB / 0.6282 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.01129, allocations: 219.3 kB / 0.6284 GB, free: 2.504 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.468e-05/0.01132, allocations: 23.88 kB / 0.6284 GB, free: 2.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.01133, allocations: 8 kB / 0.6284 GB, free: 2.473 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.276e-05/0.01137, allocations: 4 kB / 0.6284 GB, free: 2.469 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.0114, allocations: 15.97 kB / 0.6285 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.01141, allocations: 8 kB / 0.6285 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001072/0.01152, allocations: 173.2 kB / 0.6286 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01152, allocations: 0 / 0.6286 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002346/0.01175, allocations: 67.95 kB / 0.6287 GB, free: 2.207 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004417/0.01219, allocations: 0.7661 MB / 0.6294 GB, free: 1.402 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000507/0.0127, allocations: 0.6017 MB / 0.63 GB, free: 0.7266 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.0127, allocations: 0 / 0.63 GB, free: 0.7266 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.921e-05/0.01277, allocations: 67.89 kB / 0.6301 GB, free: 0.6602 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.01306, allocations: 64.27 kB / 0.6302 GB, free: 0.6016 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002925/0.01599, allocations: 3.541 MB / 0.6336 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.67e-05/0.01607, allocations: 116.9 kB / 0.6337 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.264e-05/0.01615, allocations: 18.39 kB / 0.6337 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.176e-05/0.01622, allocations: 64.47 kB / 0.6338 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of SimCode: time 9.92e-07/0.01622, allocations: 0 / 0.6338 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.038, allocations: 7.618 MB / 0.6412 GB, free: 5.191 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.141/7.179, allocations: 10.44 kB / 0.6413 GB, free: 5.184 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_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_Integers_Sources_Validation_Pulse.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.008213479071856] Failed to read output from testmodel.py, exit status != 0: 7.260773625224829 7.269760334 7.262405137 Calling exit ...