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.0008196/0.0008196, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008697/0.0008697, allocations: 223.7 kB / 22.26 MB, free: 3.703 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.9954/0.9954, allocations: 230.6 MB / 256 MB, free: 9.797 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.03731/0.03731, allocations: 12.18 MB / 324.6 MB, free: 6.359 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.0004718/0.0004718, allocations: 31.88 kB / 384.1 MB, free: 10.77 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.77/1.77, allocations: 353.8 MB / 0.7787 GB, free: 3.055 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.001872/0.001872, allocations: 127 kB / 1.06 GB, free: 24.9 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2619, allocations: 134.9 MB / 1.192 GB, free: 7.789 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001746/0.2637, allocations: 0.7071 MB / 1.192 GB, free: 7.086 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.2651, allocations: 1.188 MB / 1.194 GB, free: 5.887 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.658e-05/0.2652, allocations: 0 / 1.194 GB, free: 5.887 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.006e-05/0.2653, allocations: 3.938 kB / 1.194 GB, free: 5.883 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.2654, allocations: 15.88 kB / 1.194 GB, free: 5.867 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004701/0.2658, allocations: 131.1 kB / 1.194 GB, free: 5.742 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.266, allocations: 131.7 kB / 1.194 GB, free: 5.613 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.2661, allocations: 4 kB / 1.194 GB, free: 5.609 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.2662, allocations: 51.91 kB / 1.194 GB, free: 5.559 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.2663, allocations: 47.88 kB / 1.194 GB, free: 5.512 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.2663, allocations: 12 kB / 1.194 GB, free: 5.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.587e-05/0.2664, allocations: 23.92 kB / 1.194 GB, free: 5.477 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.489e-05/0.2664, allocations: 11.94 kB / 1.194 GB, free: 5.465 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.968e-05/0.2665, allocations: 39.86 kB / 1.194 GB, free: 5.426 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.2667, allocations: 139.9 kB / 1.194 GB, free: 5.289 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2667, allocations: 0 / 1.194 GB, free: 5.289 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.525e-06/0.2667, allocations: 0 / 1.194 GB, free: 5.289 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.2667, allocations: 0 / 1.194 GB, free: 5.289 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.0004663/0.2672, allocations: 323.8 kB / 1.195 GB, free: 4.934 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.2672, allocations: 8.031 kB / 1.195 GB, free: 4.926 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00035/0.2676, allocations: 38.75 kB / 1.195 GB, free: 4.879 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/0.2676, allocations: 8.891 kB / 1.195 GB, free: 4.871 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.2677, allocations: 106.5 kB / 1.195 GB, free: 4.742 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.2677, allocations: 20.22 kB / 1.195 GB, free: 4.723 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.2678, allocations: 8.375 kB / 1.195 GB, free: 4.715 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.666e-05/0.2678, allocations: 42.25 kB / 1.195 GB, free: 4.668 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2678, allocations: 3.938 kB / 1.195 GB, free: 4.664 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.2679, allocations: 4 kB / 1.195 GB, free: 4.66 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.2679, allocations: 4 kB / 1.195 GB, free: 4.656 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.584e-05/0.2679, allocations: 8 kB / 1.195 GB, free: 4.648 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.2684, allocations: 307.8 kB / 1.195 GB, free: 4.305 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.885e-05/0.2685, allocations: 26.52 kB / 1.195 GB, free: 4.27 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/0.2685, allocations: 16.91 kB / 1.195 GB, free: 4.25 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.2685, allocations: 4 kB / 1.195 GB, free: 4.246 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/0.2687, allocations: 63.39 kB / 1.195 GB, free: 4.172 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.833e-06/0.2687, allocations: 0 / 1.195 GB, free: 4.172 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002305/0.2689, allocations: 81.52 kB / 1.195 GB, free: 4.086 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.269, allocations: 55.41 kB / 1.195 GB, free: 4.02 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.2691, allocations: 125.8 kB / 1.195 GB, free: 3.887 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.2691, allocations: 25.7 kB / 1.195 GB, free: 3.855 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.2692, allocations: 88.14 kB / 1.196 GB, free: 3.766 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.2692, allocations: 11.95 kB / 1.196 GB, free: 3.754 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.726e-05/0.2693, allocations: 33.69 kB / 1.196 GB, free: 3.715 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2694, allocations: 322.8 kB / 1.196 GB, free: 3.391 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.905e-05/0.2695, allocations: 31.98 kB / 1.196 GB, free: 3.359 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.718e-05/0.2696, allocations: 58.55 kB / 1.196 GB, free: 3.293 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.2697, allocations: 100.2 kB / 1.196 GB, free: 3.18 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2697, allocations: 0 / 1.196 GB, free: 3.18 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002696/0.27, allocations: 167.3 kB / 1.196 GB, free: 3.004 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.961e-05/0.27, allocations: 39.42 kB / 1.196 GB, free: 2.961 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.27, allocations: 0 / 1.196 GB, free: 2.961 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2701, allocations: 4 kB / 1.196 GB, free: 2.957 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.488e-05/0.2701, allocations: 0 / 1.196 GB, free: 2.957 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.2701, allocations: 4 kB / 1.196 GB, free: 2.953 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.2703, allocations: 35.97 kB / 1.196 GB, free: 2.918 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.2703, allocations: 4 kB / 1.196 GB, free: 2.914 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 9.967e-05/0.2704, allocations: 125.7 kB / 1.196 GB, free: 2.781 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.2704, allocations: 8 kB / 1.196 GB, free: 2.773 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.911e-05/0.2705, allocations: 7.984 kB / 1.196 GB, free: 2.758 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2705, allocations: 4 kB / 1.196 GB, free: 2.754 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2705, allocations: 0 / 1.196 GB, free: 2.754 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2705, allocations: 0 / 1.196 GB, free: 2.754 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.2706, allocations: 144.7 kB / 1.197 GB, free: 2.57 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2706, allocations: 0 / 1.197 GB, free: 2.57 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.811e-05/0.2706, allocations: 4 kB / 1.197 GB, free: 2.566 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2706, allocations: 0 / 1.197 GB, free: 2.566 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.2706, allocations: 7.984 kB / 1.197 GB, free: 2.559 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2706, allocations: 4 kB / 1.197 GB, free: 2.555 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.2706, allocations: 240 / 1.197 GB, free: 2.555 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.2708, allocations: 89 kB / 1.197 GB, free: 2.449 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.2708, allocations: 15.95 kB / 1.197 GB, free: 2.434 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.2708, allocations: 0 / 1.197 GB, free: 2.434 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.636e-05/0.2708, allocations: 3.984 kB / 1.197 GB, free: 2.43 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.2709, allocations: 3.938 kB / 1.197 GB, free: 2.426 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.2709, allocations: 7.938 kB / 1.197 GB, free: 2.418 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.434e-05/0.2709, allocations: 99.7 kB / 1.197 GB, free: 2.32 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2709, allocations: 0 / 1.197 GB, free: 2.32 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002463/0.2712, allocations: 19.94 kB / 1.197 GB, free: 2.301 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.0004928/0.2717, allocations: 0.6241 MB / 1.197 GB, free: 1.648 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002507/0.2719, allocations: 119.3 kB / 1.198 GB, free: 1.52 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2719, allocations: 4 kB / 1.198 GB, free: 1.516 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.646e-05/0.2719, allocations: 15.98 kB / 1.198 GB, free: 1.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.2722, allocations: 20.19 kB / 1.198 GB, free: 1.48 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.2735, allocations: 1.511 MB / 1.199 GB, free: 15.87 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.2736, allocations: 0.6846 MB / 1.2 GB, free: 15.16 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.68e-05/0.2737, allocations: 7.984 kB / 1.2 GB, free: 15.15 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.487e-05/0.2737, allocations: 15.38 kB / 1.2 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of SimCode: time 6.11e-07/0.2737, allocations: 4 kB / 1.2 GB, free: 15.13 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/0.2897, allocations: 2.483 MB / 1.202 GB, free: 12.8 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.558/6.848, allocations: 5.406 kB / 1.202 GB, free: 12.8 MB / 0.8387 GB " [Timeout remaining time 653] (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: 11.562954048626125] Failed to read output from testmodel.py, exit status != 0: 6.925142424181104 6.938006867 6.668434569 Calling exit ...