Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.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.000711/0.000711, 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.0007148/0.0007148, allocations: 209.2 kB / 22.24 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.8896/0.8896, 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/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.03636/0.03636, allocations: 12.19 MB / 324.6 MB, free: 6.062 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.0004633/0.0004633, allocations: 23.95 kB / 384.1 MB, free: 10.49 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.8 MB / 0.7787 GB, free: 4.562 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.Reals.Sources.Validation.Pulse,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_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.001389/0.001389, allocations: 120.7 kB / 1.06 GB, free: 24.75 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1966, allocations: 134.9 MB / 1.192 GB, free: 7.465 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00142/0.198, allocations: 0.6935 MB / 1.192 GB, free: 6.773 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1991, allocations: 1.168 MB / 1.194 GB, free: 5.594 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.084e-05/0.1991, allocations: 4 kB / 1.194 GB, free: 5.59 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.81e-05/0.1992, allocations: 3.938 kB / 1.194 GB, free: 5.586 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.869e-05/0.1992, allocations: 11.92 kB / 1.194 GB, free: 5.574 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.1996, allocations: 134.2 kB / 1.194 GB, free: 5.445 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.1997, allocations: 123.8 kB / 1.194 GB, free: 5.324 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.062e-05/0.1998, allocations: 11.94 kB / 1.194 GB, free: 5.312 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.411e-05/0.1999, allocations: 51.89 kB / 1.194 GB, free: 5.262 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.97e-05/0.1999, allocations: 35.89 kB / 1.194 GB, free: 5.227 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.2, allocations: 12 kB / 1.194 GB, free: 5.215 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.978e-05/0.2, allocations: 23.98 kB / 1.194 GB, free: 5.191 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.2, allocations: 7.938 kB / 1.194 GB, free: 5.184 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.2001, allocations: 39.91 kB / 1.194 GB, free: 5.145 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.2003, allocations: 139.8 kB / 1.194 GB, free: 5.008 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2003, allocations: 0 / 1.194 GB, free: 5.008 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2003, allocations: 0 / 1.194 GB, free: 5.008 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2003, allocations: 0 / 1.194 GB, free: 5.008 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003719/0.2007, allocations: 319.8 kB / 1.194 GB, free: 4.656 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2007, allocations: 16.03 kB / 1.194 GB, free: 4.641 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.307e-05/0.2007, allocations: 34.73 kB / 1.194 GB, free: 4.598 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.2008, allocations: 8.891 kB / 1.194 GB, free: 4.59 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.402e-05/0.2008, allocations: 114.5 kB / 1.195 GB, free: 4.453 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.2009, allocations: 384 / 1.195 GB, free: 4.453 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.2009, allocations: 12.38 kB / 1.195 GB, free: 4.441 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.97e-05/0.2009, allocations: 42.25 kB / 1.195 GB, free: 4.395 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.201, allocations: 3.938 kB / 1.195 GB, free: 4.391 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.201, allocations: 3.984 kB / 1.195 GB, free: 4.387 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.201, allocations: 0 / 1.195 GB, free: 4.387 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.442e-05/0.201, allocations: 27.88 kB / 1.195 GB, free: 4.359 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.2013, allocations: 279.8 kB / 1.195 GB, free: 4.043 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.181e-05/0.2014, allocations: 26.58 kB / 1.195 GB, free: 4.008 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.808e-05/0.2014, allocations: 16.91 kB / 1.195 GB, free: 3.988 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-06/0.2014, allocations: 0 / 1.195 GB, free: 3.988 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.2015, allocations: 71.31 kB / 1.195 GB, free: 3.906 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.2015, allocations: 0 / 1.195 GB, free: 3.906 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001515/0.2017, allocations: 73.64 kB / 1.195 GB, free: 3.828 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.2017, allocations: 51.41 kB / 1.195 GB, free: 3.766 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.881e-05/0.2018, allocations: 129.8 kB / 1.195 GB, free: 3.629 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.2018, allocations: 33.7 kB / 1.195 GB, free: 3.59 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.2018, allocations: 92.08 kB / 1.195 GB, free: 3.496 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.182e-05/0.2018, allocations: 11.88 kB / 1.195 GB, free: 3.484 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.2019, allocations: 37.7 kB / 1.195 GB, free: 3.441 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.2021, allocations: 318.8 kB / 1.196 GB, free: 3.121 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.087e-05/0.2021, allocations: 69.69 kB / 1.196 GB, free: 3.047 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.12e-05/0.2022, allocations: 88.25 kB / 1.196 GB, free: 2.945 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.493e-05/0.2023, allocations: 88.27 kB / 1.196 GB, free: 2.844 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2023, allocations: 0 / 1.196 GB, free: 2.844 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001772/0.2025, allocations: 204.9 kB / 1.196 GB, free: 2.625 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.2025, allocations: 41.69 kB / 1.196 GB, free: 2.578 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2025, allocations: 0 / 1.196 GB, free: 2.578 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.2025, allocations: 0 / 1.196 GB, free: 2.578 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.28e-05/0.2025, allocations: 4 kB / 1.196 GB, free: 2.574 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2025, allocations: 0 / 1.196 GB, free: 2.574 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.2027, allocations: 27.92 kB / 1.196 GB, free: 2.547 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.2027, allocations: 7.984 kB / 1.196 GB, free: 2.539 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 6.068e-05/0.2027, allocations: 127.4 kB / 1.196 GB, free: 2.406 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-06/0.2027, allocations: 4 kB / 1.196 GB, free: 2.402 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.071e-05/0.2028, allocations: 8 kB / 1.196 GB, free: 2.387 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2028, allocations: 0 / 1.196 GB, free: 2.387 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2028, allocations: 0 / 1.196 GB, free: 2.387 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2028, allocations: 0 / 1.196 GB, free: 2.387 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.5e-05/0.2028, allocations: 144.7 kB / 1.197 GB, free: 2.203 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2028, allocations: 4.062 kB / 1.197 GB, free: 2.199 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.043e-05/0.2028, allocations: 4 kB / 1.197 GB, free: 2.195 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.2028, allocations: 0 / 1.197 GB, free: 2.195 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.2029, allocations: 4 kB / 1.197 GB, free: 2.191 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2029, allocations: 7.875 kB / 1.197 GB, free: 2.184 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2029, allocations: 0 / 1.197 GB, free: 2.184 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.515e-05/0.2029, allocations: 97 kB / 1.197 GB, free: 2.07 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.2029, allocations: 7.953 kB / 1.197 GB, free: 2.062 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-06/0.203, allocations: 0 / 1.197 GB, free: 2.062 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.073e-05/0.203, allocations: 0 / 1.197 GB, free: 2.062 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/0.203, allocations: 3.984 kB / 1.197 GB, free: 2.059 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-06/0.203, allocations: 4 kB / 1.197 GB, free: 2.055 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.82e-05/0.203, allocations: 103.2 kB / 1.197 GB, free: 1.953 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.203, allocations: 0 / 1.197 GB, free: 1.953 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001343/0.2032, allocations: 23.94 kB / 1.197 GB, free: 1.93 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002776/0.2034, allocations: 0.6339 MB / 1.197 GB, free: 1.27 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001711/0.2036, allocations: 149.4 kB / 1.198 GB, free: 1.105 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.2036, allocations: 0 / 1.198 GB, free: 1.105 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.258e-05/0.2036, allocations: 19.92 kB / 1.198 GB, free: 1.086 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.2038, allocations: 12.17 kB / 1.198 GB, free: 1.074 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.2052, allocations: 1.642 MB / 1.199 GB, free: 15.31 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.919e-05/0.2052, allocations: 75.48 kB / 1.199 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.088e-05/0.2052, allocations: 4 kB / 1.199 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.2053, allocations: 19.44 kB / 1.199 GB, free: 15.19 MB / 0.8387 GB Notification: Performance of SimCode: time 6.01e-07/0.2053, allocations: 0 / 1.199 GB, free: 15.19 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01359/0.2189, allocations: 3.016 MB / 1.202 GB, free: 12.34 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.903/6.121, allocations: 8.219 kB / 1.202 GB, free: 12.33 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Reals.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_Reals_Sources_Validation_Pulse.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.14112078025937] Failed to read output from testmodel.py, exit status != 0: 6.195402930490673 6.203535322 6.001736044 Calling exit ...