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.0008252/0.0008252, allocations: 113.9 kB / 18.94 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.0009456/0.0009456, allocations: 217.2 kB / 22.26 MB, free: 3.695 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.9725/0.9725, allocations: 230.6 MB / 256 MB, free: 9.781 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.04209/0.04209, allocations: 12.17 MB / 324.6 MB, free: 6.27 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.0004756/0.0004756, allocations: 35.88 kB / 384.1 MB, free: 10.67 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.728/1.728, allocations: 353.8 MB / 0.7787 GB, free: 3.086 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.002176/0.002176, allocations: 122.2 kB / 1.06 GB, free: 24.95 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2572, allocations: 134.9 MB / 1.192 GB, free: 7.859 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001948/0.2591, allocations: 0.9467 MB / 1.193 GB, free: 6.914 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.2608, allocations: 1.499 MB / 1.194 GB, free: 5.402 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.225e-05/0.2609, allocations: 4 kB / 1.194 GB, free: 5.398 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.52e-05/0.2609, allocations: 15.75 kB / 1.194 GB, free: 5.383 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.261, allocations: 59.56 kB / 1.194 GB, free: 5.324 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007733/0.2618, allocations: 447 kB / 1.195 GB, free: 4.898 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000397/0.2622, allocations: 499.1 kB / 1.195 GB, free: 4.41 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.2623, allocations: 29.81 kB / 1.195 GB, free: 4.379 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.2625, allocations: 183.6 kB / 1.195 GB, free: 4.199 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.2627, allocations: 167.5 kB / 1.195 GB, free: 4.035 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.2627, allocations: 48 kB / 1.196 GB, free: 3.988 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.069e-05/0.2628, allocations: 67.92 kB / 1.196 GB, free: 3.922 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.047e-05/0.2629, allocations: 35.86 kB / 1.196 GB, free: 3.887 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.263, allocations: 171.4 kB / 1.196 GB, free: 3.719 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.2634, allocations: 0.4948 MB / 1.196 GB, free: 3.223 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2634, allocations: 0 / 1.196 GB, free: 3.223 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.073e-06/0.2634, allocations: 0 / 1.196 GB, free: 3.223 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.166e-06/0.2634, allocations: 0 / 1.196 GB, free: 3.223 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.0006232/0.264, allocations: 0.5625 MB / 1.197 GB, free: 2.602 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.264, allocations: 8.031 kB / 1.197 GB, free: 2.594 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.094e-05/0.2641, allocations: 38.75 kB / 1.197 GB, free: 2.547 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/0.2641, allocations: 28.8 kB / 1.197 GB, free: 2.52 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.2643, allocations: 177.2 kB / 1.197 GB, free: 2.324 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.2643, allocations: 16.38 kB / 1.197 GB, free: 2.309 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.2643, allocations: 24.38 kB / 1.197 GB, free: 2.285 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.2645, allocations: 113.6 kB / 1.197 GB, free: 2.156 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2645, allocations: 11.81 kB / 1.197 GB, free: 2.145 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.2645, allocations: 4 kB / 1.197 GB, free: 2.141 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2645, allocations: 4 kB / 1.197 GB, free: 2.137 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.696e-05/0.2646, allocations: 47.97 kB / 1.197 GB, free: 2.09 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007512/0.2654, allocations: 0.8474 MB / 1.198 GB, free: 1.188 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/0.2658, allocations: 118.4 kB / 1.198 GB, free: 1.035 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.39e-05/0.2658, allocations: 59.42 kB / 1.198 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.2658, allocations: 0 / 1.198 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002534/0.2661, allocations: 176.3 kB / 1.198 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of pre-optimization done (n=16): time 9.32e-07/0.2661, allocations: 0 / 1.198 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of matching and sorting (n=16): time 0.0003516/0.2664, allocations: 230 kB / 1.199 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/0.2665, allocations: 136.5 kB / 1.199 GB, free: 384 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.2667, allocations: 252.8 kB / 1.199 GB, free: 124 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.2667, allocations: 37.7 kB / 1.199 GB, free: 80 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.892e-05/0.2668, allocations: 124.5 kB / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.2668, allocations: 31.78 kB / 1.199 GB, free: 15.92 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.2669, allocations: 93.66 kB / 1.199 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 8.721e-05/0.267, allocations: 330.8 kB / 1.2 GB, free: 15.49 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.2672, allocations: 148.1 kB / 1.2 GB, free: 15.34 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.2674, allocations: 230.6 kB / 1.2 GB, free: 15.08 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/0.2677, allocations: 361 kB / 1.2 GB, free: 14.66 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.2677, allocations: 4 kB / 1.2 GB, free: 14.66 MB / 0.8387 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005839/0.2683, allocations: 0.5663 MB / 1.201 GB, free: 14.06 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 7.665e-05/0.2684, allocations: 142.7 kB / 1.201 GB, free: 13.9 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.2684, allocations: 0 / 1.201 GB, free: 13.9 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.2684, allocations: 4 kB / 1.201 GB, free: 13.89 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.249e-05/0.2685, allocations: 16 kB / 1.201 GB, free: 13.88 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.2685, allocations: 11.92 kB / 1.201 GB, free: 13.87 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.2688, allocations: 116 kB / 1.201 GB, free: 13.75 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.2689, allocations: 23.98 kB / 1.201 GB, free: 13.73 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 0.0001334/0.269, allocations: 150.9 kB / 1.201 GB, free: 13.57 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.269, allocations: 23.86 kB / 1.201 GB, free: 13.55 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.741e-05/0.2691, allocations: 17.34 kB / 1.201 GB, free: 13.53 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2691, allocations: 4 kB / 1.201 GB, free: 13.52 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/0.2691, allocations: 3.938 kB / 1.201 GB, free: 13.52 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.2691, allocations: 11.92 kB / 1.201 GB, free: 13.51 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.2693, allocations: 228.6 kB / 1.202 GB, free: 13.24 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2693, allocations: 0 / 1.202 GB, free: 13.24 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.2693, allocations: 12 kB / 1.202 GB, free: 13.23 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2693, allocations: 0 / 1.202 GB, free: 13.23 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.2693, allocations: 7.984 kB / 1.202 GB, free: 13.22 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2693, allocations: 4 kB / 1.202 GB, free: 13.22 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2693, allocations: 4 kB / 1.202 GB, free: 13.21 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.2695, allocations: 215.4 kB / 1.202 GB, free: 12.98 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.2696, allocations: 23.84 kB / 1.202 GB, free: 12.95 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.2696, allocations: 4 kB / 1.202 GB, free: 12.95 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.313e-05/0.2696, allocations: 11.98 kB / 1.202 GB, free: 12.94 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.2697, allocations: 11.92 kB / 1.202 GB, free: 12.93 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.2697, allocations: 15.94 kB / 1.202 GB, free: 12.91 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.0001096/0.2698, allocations: 164.5 kB / 1.202 GB, free: 12.75 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2698, allocations: 0 / 1.202 GB, free: 12.75 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002261/0.27, allocations: 71.95 kB / 1.202 GB, free: 12.68 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.0004526/0.2705, allocations: 0.7619 MB / 1.203 GB, free: 11.88 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.000452/0.2709, allocations: 485.8 kB / 1.203 GB, free: 11.36 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2709, allocations: 4.062 kB / 1.203 GB, free: 11.36 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.69e-05/0.271, allocations: 56.52 kB / 1.203 GB, free: 11.3 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.2713, allocations: 78.19 kB / 1.203 GB, free: 11.23 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.2744, allocations: 3.026 MB / 1.206 GB, free: 8 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.2746, allocations: 0.732 MB / 1.207 GB, free: 7.242 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 6.63e-05/0.2746, allocations: 17.64 kB / 1.207 GB, free: 7.227 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.318e-05/0.2747, allocations: 63.41 kB / 1.207 GB, free: 7.164 MB / 0.8387 GB Notification: Performance of SimCode: time 1.092e-06/0.2747, allocations: 0 / 1.207 GB, free: 7.164 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.2984, allocations: 6.59 MB / 1.214 GB, free: 0.7656 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.694/6.992, allocations: 10.14 kB / 1.214 GB, free: 0.7617 MB / 0.8387 GB " [Timeout remaining time 653] (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: 11.651162159629166] Failed to read output from testmodel.py, exit status != 0: 7.074010203592479 7.082864536 6.817718899 Calling exit ...