Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.000829/0.000829, allocations: 105.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.000979/0.000979, allocations: 218.7 kB / 22.25 MB, free: 3.57 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.8916/0.8916, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.0365/0.0365, allocations: 12.18 MB / 324.6 MB, free: 6.086 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004851/0.0004851, allocations: 27.97 kB / 384.1 MB, free: 10.5 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.542/1.542, allocations: 353.9 MB / 0.7787 GB, free: 4.582 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.001371/0.001371, allocations: 117 kB / 1.06 GB, free: 24.75 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1932, allocations: 134.9 MB / 1.192 GB, free: 7.516 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.00145/0.1946, allocations: 0.9022 MB / 1.193 GB, free: 6.613 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1958, allocations: 1.464 MB / 1.194 GB, free: 5.137 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.471e-05/0.1959, allocations: 0 / 1.194 GB, free: 5.137 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.744e-05/0.1959, allocations: 19.73 kB / 1.194 GB, free: 5.117 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.196, allocations: 59.56 kB / 1.194 GB, free: 5.059 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006519/0.1967, allocations: 447.3 kB / 1.195 GB, free: 4.633 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003247/0.197, allocations: 495.1 kB / 1.195 GB, free: 4.148 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1971, allocations: 37.8 kB / 1.195 GB, free: 4.109 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.1972, allocations: 179.6 kB / 1.195 GB, free: 3.934 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.1974, allocations: 147.4 kB / 1.195 GB, free: 3.789 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.457e-05/0.1974, allocations: 52 kB / 1.195 GB, free: 3.738 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.496e-05/0.1975, allocations: 67.92 kB / 1.195 GB, free: 3.672 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.92e-05/0.1975, allocations: 31.86 kB / 1.195 GB, free: 3.641 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.1976, allocations: 155.5 kB / 1.196 GB, free: 3.488 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003198/0.198, allocations: 0.4909 MB / 1.196 GB, free: 2.996 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.198, allocations: 0 / 1.196 GB, free: 2.996 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.423e-06/0.198, allocations: 0 / 1.196 GB, free: 2.996 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.198, allocations: 0 / 1.196 GB, free: 2.996 MB / 0.823 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.0005561/0.1985, allocations: 0.5625 MB / 1.197 GB, free: 2.375 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.1986, allocations: 8.031 kB / 1.197 GB, free: 2.367 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.04e-05/0.1986, allocations: 46.73 kB / 1.197 GB, free: 2.312 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.897e-05/0.1987, allocations: 28.8 kB / 1.197 GB, free: 2.285 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.1988, allocations: 177.2 kB / 1.197 GB, free: 2.09 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.1988, allocations: 12.38 kB / 1.197 GB, free: 2.078 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.1988, allocations: 24.38 kB / 1.197 GB, free: 2.055 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.199, allocations: 119.5 kB / 1.197 GB, free: 1.922 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.199, allocations: 3.938 kB / 1.197 GB, free: 1.918 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.199, allocations: 8 kB / 1.197 GB, free: 1.91 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.199, allocations: 3.938 kB / 1.197 GB, free: 1.906 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.881e-05/0.1991, allocations: 47.98 kB / 1.197 GB, free: 1.859 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006026/0.1997, allocations: 0.75 MB / 1.198 GB, free: 1.055 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.1998, allocations: 122.3 kB / 1.198 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.008e-05/0.1998, allocations: 59.42 kB / 1.198 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/0.1999, allocations: 0 / 1.198 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.2001, allocations: 174.6 kB / 1.198 GB, free: 0.6328 MB / 0.823 GB Notification: Performance of pre-optimization done (n=16): time 9.32e-07/0.2001, allocations: 0 / 1.198 GB, free: 0.6328 MB / 0.823 GB Notification: Performance of matching and sorting (n=16): time 0.0003146/0.2004, allocations: 237.8 kB / 1.198 GB, free: 404 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002892/0.2007, allocations: 132.5 kB / 1.199 GB, free: 240 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.2008, allocations: 252.8 kB / 1.199 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.2009, allocations: 37.7 kB / 1.199 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 7.135e-05/0.2009, allocations: 124.5 kB / 1.199 GB, free: 15.81 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.201, allocations: 35.8 kB / 1.199 GB, free: 15.77 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.465e-05/0.2011, allocations: 85.66 kB / 1.199 GB, free: 15.68 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.694e-05/0.2011, allocations: 338.8 kB / 1.199 GB, free: 15.34 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.2014, allocations: 274.9 kB / 1.2 GB, free: 15.05 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.2016, allocations: 349.4 kB / 1.2 GB, free: 14.64 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.2019, allocations: 372.9 kB / 1.2 GB, free: 14.22 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2019, allocations: 4 kB / 1.2 GB, free: 14.21 MB / 0.8387 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005815/0.2025, allocations: 0.6862 MB / 1.201 GB, free: 13.47 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 5.844e-05/0.2025, allocations: 139 kB / 1.201 GB, free: 13.31 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2025, allocations: 4 kB / 1.201 GB, free: 13.31 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.2025, allocations: 4 kB / 1.201 GB, free: 13.3 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.898e-05/0.2026, allocations: 11.94 kB / 1.201 GB, free: 13.29 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2026, allocations: 4 kB / 1.201 GB, free: 13.29 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/0.2029, allocations: 123.6 kB / 1.201 GB, free: 13.17 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.203, allocations: 31.92 kB / 1.201 GB, free: 13.14 MB / 0.8387 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 9.951e-05/0.2031, allocations: 141.8 kB / 1.201 GB, free: 12.99 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.2031, allocations: 27.84 kB / 1.201 GB, free: 12.96 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.2031, allocations: 17.34 kB / 1.201 GB, free: 12.94 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2031, allocations: 4 kB / 1.201 GB, free: 12.93 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2031, allocations: 0 / 1.201 GB, free: 12.93 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.2031, allocations: 15.92 kB / 1.201 GB, free: 12.92 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.2033, allocations: 204.7 kB / 1.202 GB, free: 12.68 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2033, allocations: 4 kB / 1.202 GB, free: 12.67 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.321e-05/0.2033, allocations: 11.94 kB / 1.202 GB, free: 12.66 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.2033, allocations: 4 kB / 1.202 GB, free: 12.66 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.2033, allocations: 7.984 kB / 1.202 GB, free: 12.65 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2033, allocations: 0 / 1.202 GB, free: 12.65 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2033, allocations: 4 kB / 1.202 GB, free: 12.64 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.2035, allocations: 224.5 kB / 1.202 GB, free: 12.4 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.208e-05/0.2035, allocations: 19.84 kB / 1.202 GB, free: 12.38 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.2035, allocations: 4 kB / 1.202 GB, free: 12.38 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.26e-05/0.2036, allocations: 11.98 kB / 1.202 GB, free: 12.36 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.2036, allocations: 19.86 kB / 1.202 GB, free: 12.34 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.2036, allocations: 11.98 kB / 1.202 GB, free: 12.33 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 9.297e-05/0.2037, allocations: 164.5 kB / 1.202 GB, free: 12.18 MB / 0.8387 GB Notification: Performance of sort global known variables: time 6e-08/0.2037, allocations: 0 / 1.202 GB, free: 12.18 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002139/0.2039, allocations: 71.94 kB / 1.202 GB, free: 12.11 MB / 0.8387 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.0003846/0.2043, allocations: 0.7615 MB / 1.203 GB, free: 11.31 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0004679/0.2048, allocations: 0.6064 MB / 1.204 GB, free: 10.63 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2048, allocations: 0 / 1.204 GB, free: 10.63 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.286e-05/0.2048, allocations: 60.28 kB / 1.204 GB, free: 10.57 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.2051, allocations: 64.75 kB / 1.204 GB, free: 10.51 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.2078, allocations: 3.548 MB / 1.207 GB, free: 6.664 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.151e-05/0.2079, allocations: 120.9 kB / 1.207 GB, free: 6.527 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 5.381e-05/0.208, allocations: 17.64 kB / 1.207 GB, free: 6.512 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.385e-05/0.208, allocations: 55.42 kB / 1.207 GB, free: 6.457 MB / 0.8387 GB Notification: Performance of SimCode: time 6.51e-07/0.208, allocations: 0 / 1.207 GB, free: 6.457 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.2254, allocations: 7.542 MB / 1.215 GB, free: 15.15 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.999/6.225, allocations: 3.984 kB / 1.215 GB, free: 15.15 MB / 0.8543 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.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 AixLib_AixLib_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.268973253667355] Failed to read output from testmodel.py, exit status != 0: 6.3015400832518935 6.312066868 6.112305121 Calling exit ...