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.002025/0.002025, 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.00103/0.00103, 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.8973/0.8973, allocations: 177.1 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.727/0.727, allocations: 154.6 MB / 413.7 MB, free: 0.8359 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.484e-06/2.484e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.267e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001344/0.001367, allocations: 0.9105 MB / 0.6189 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.002894, allocations: 1.466 MB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.183e-05/0.002956, allocations: 4 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.72e-05/0.002993, allocations: 15.8 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.003105, allocations: 67.52 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000693/0.003798, allocations: 440.1 kB / 0.6209 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.004143, allocations: 0.4912 MB / 0.6214 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.004247, allocations: 29.94 kB / 0.6214 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.004439, allocations: 263.6 kB / 0.6216 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.004585, allocations: 139.7 kB / 0.6218 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.548e-05/0.004631, allocations: 48 kB / 0.6218 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-05/0.004716, allocations: 59.94 kB / 0.6219 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.094e-05/0.004747, allocations: 47.77 kB / 0.6219 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.131e-05/0.004838, allocations: 127.8 kB / 0.622 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.00519, allocations: 0.565 MB / 0.6226 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.005192, allocations: 0 / 0.6226 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.21e-07/0.005193, allocations: 0 / 0.6226 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.005197, allocations: 0 / 0.6226 GB, free: 9.055 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.0005547/0.005752, allocations: 0.5508 MB / 0.6231 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.005789, allocations: 13.47 kB / 0.6231 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.839e-05/0.005817, allocations: 42.73 kB / 0.6232 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.889e-05/0.005876, allocations: 32.8 kB / 0.6232 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.005993, allocations: 168.9 kB / 0.6234 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.006014, allocations: 20.36 kB / 0.6234 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.006046, allocations: 16.38 kB / 0.6234 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.006185, allocations: 125.6 kB / 0.6235 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.006192, allocations: 192 / 0.6235 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.006203, allocations: 4.375 kB / 0.6235 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.00621, allocations: 12.11 kB / 0.6235 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.927e-05/0.006289, allocations: 51.91 kB / 0.6236 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006019/0.006891, allocations: 0.7501 MB / 0.6243 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.007015, allocations: 118.4 kB / 0.6244 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.986e-05/0.007075, allocations: 55.36 kB / 0.6245 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.007088, allocations: 4 kB / 0.6245 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002443/0.007333, allocations: 166.6 kB / 0.6247 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.704e-06/0.007334, allocations: 0 / 0.6247 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.0004187/0.007753, allocations: 229.4 kB / 0.6249 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/0.007819, allocations: 148.4 kB / 0.625 GB, free: 6.297 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.008027, allocations: 241.7 kB / 0.6253 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.344e-05/0.00807, allocations: 37.7 kB / 0.6253 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.169e-05/0.008162, allocations: 128.6 kB / 0.6254 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.008192, allocations: 31.78 kB / 0.6254 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.008337, allocations: 97.59 kB / 0.6255 GB, free: 5.746 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.008437, allocations: 334.8 kB / 0.6259 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.008766, allocations: 271 kB / 0.6261 GB, free: 5.117 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005713/0.009338, allocations: 358.1 kB / 0.6265 GB, free: 4.707 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.009611, allocations: 368.9 kB / 0.6268 GB, free: 4.285 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.009613, allocations: 0 / 0.6268 GB, free: 4.285 MB / 0.5886 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005821/0.0102, allocations: 0.6903 MB / 0.6275 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.822e-05/0.01025, allocations: 134.8 kB / 0.6276 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01026, allocations: 0 / 0.6276 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.01027, allocations: 4 kB / 0.6276 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.878e-05/0.01033, allocations: 19.92 kB / 0.6276 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.01034, allocations: 4 kB / 0.6276 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.01065, allocations: 111.9 kB / 0.6277 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/0.01068, allocations: 23.98 kB / 0.6278 GB, free: 3.223 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.0001026/0.01078, allocations: 158.6 kB / 0.6279 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.0108, allocations: 23.86 kB / 0.6279 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.01083, allocations: 21.33 kB / 0.628 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01083, allocations: 0 / 0.628 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.01084, allocations: 8 kB / 0.628 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.01084, allocations: 0.9375 kB / 0.628 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.01098, allocations: 212.6 kB / 0.6282 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01099, allocations: 0 / 0.6282 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/0.01101, allocations: 15.98 kB / 0.6282 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01101, allocations: 0 / 0.6282 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.01102, allocations: 11.94 kB / 0.6282 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.01102, allocations: 4 kB / 0.6282 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01102, allocations: 0 / 0.6282 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.0112, allocations: 222.2 kB / 0.6284 GB, free: 2.48 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.258e-05/0.01123, allocations: 23.89 kB / 0.6284 GB, free: 2.457 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.01124, allocations: 8 kB / 0.6284 GB, free: 2.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.949e-05/0.01127, allocations: 4 kB / 0.6284 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.0113, allocations: 27.84 kB / 0.6285 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.01131, allocations: 7.938 kB / 0.6285 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.387e-05/0.01141, allocations: 177.2 kB / 0.6286 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01141, allocations: 0 / 0.6286 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002138/0.01162, allocations: 67.95 kB / 0.6287 GB, free: 2.168 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.0003695/0.01199, allocations: 0.7521 MB / 0.6294 GB, free: 1.375 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004686/0.01246, allocations: 0.6095 MB / 0.63 GB, free: 0.6914 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01246, allocations: 0 / 0.63 GB, free: 0.6914 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.413e-05/0.01252, allocations: 55.91 kB / 0.6301 GB, free: 0.6367 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.01279, allocations: 62.83 kB / 0.6302 GB, free: 0.5781 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/0.01583, allocations: 3.541 MB / 0.6336 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.863e-05/0.01591, allocations: 120.9 kB / 0.6337 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.539e-05/0.01597, allocations: 18.39 kB / 0.6337 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.021e-05/0.01604, allocations: 64.41 kB / 0.6338 GB, free: 12.53 MB / 0.6042 GB Notification: Performance of SimCode: time 7.81e-07/0.01604, allocations: 0 / 0.6338 GB, free: 12.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/0.0346, allocations: 7.62 MB / 0.6412 GB, free: 5.164 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.15/7.185, allocations: 11.64 kB / 0.6413 GB, free: 5.156 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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: 9.838443147949874] Failed to read output from testmodel.py, exit status != 0: 7.269165183417499 7.280334463 7.272732963 Calling exit ...