Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.00128/0.00128, allocations: 109.9 kB / 18.94 MB, free: 1.262 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.001629/0.001629, allocations: 210.4 kB / 22.25 MB, free: 3.848 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.9657/0.9657, allocations: 230.6 MB / 256 MB, free: 3.547 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.04083/0.04083, allocations: 12.18 MB / 324.6 MB, free: 3.398 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.0004692/0.0004692, allocations: 35.81 kB / 384.1 MB, free: 45.86 MB / 298.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.782/1.782, allocations: 353.8 MB / 0.7787 GB, free: 13.05 MB / 0.5262 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.Routing.Validation.RealExtractSignal,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.001698/0.001698, allocations: 114.9 kB / 1.06 GB, free: 9.867 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.261, allocations: 134.9 MB / 1.192 GB, free: 3.043 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001676/0.2627, allocations: 1.002 MB / 1.193 GB, free: 2.051 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.2641, allocations: 1.393 MB / 1.194 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.581e-05/0.2642, allocations: 7.875 kB / 1.194 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.2643, allocations: 19.8 kB / 1.194 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.223e-05/0.2644, allocations: 43.59 kB / 1.194 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006226/0.265, allocations: 286.5 kB / 1.194 GB, free: 312 kB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003432/0.2653, allocations: 379.3 kB / 1.195 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.2655, allocations: 41.8 kB / 1.195 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.2657, allocations: 159.6 kB / 1.195 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.2658, allocations: 135.5 kB / 1.195 GB, free: 15.6 MB / 0.8387 GB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.2658, allocations: 36 kB / 1.195 GB, free: 15.57 MB / 0.8387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.764e-05/0.2659, allocations: 55.98 kB / 1.195 GB, free: 15.51 MB / 0.8387 GB Notification: Performance of NFScalarize.scalarize: time 8.02e-05/0.266, allocations: 63.77 kB / 1.195 GB, free: 15.45 MB / 0.8387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.2661, allocations: 131.4 kB / 1.195 GB, free: 15.32 MB / 0.8387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.2664, allocations: 410.8 kB / 1.196 GB, free: 14.92 MB / 0.8387 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2664, allocations: 0 / 1.196 GB, free: 14.92 MB / 0.8387 GB Notification: Performance of FrontEnd: time 1.644e-06/0.2664, allocations: 0 / 1.196 GB, free: 14.92 MB / 0.8387 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.2664, allocations: 0 / 1.196 GB, free: 14.92 MB / 0.8387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.000602/0.267, allocations: 0.5472 MB / 1.196 GB, free: 14.32 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2671, allocations: 11.98 kB / 1.196 GB, free: 14.31 MB / 0.8387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.587e-05/0.2671, allocations: 50.73 kB / 1.196 GB, free: 14.25 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000241/0.2674, allocations: 68.7 kB / 1.196 GB, free: 14.19 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005133/0.2679, allocations: 305.1 kB / 1.197 GB, free: 13.87 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.2679, allocations: 20.36 kB / 1.197 GB, free: 13.85 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.2679, allocations: 20.38 kB / 1.197 GB, free: 13.83 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.2682, allocations: 210.1 kB / 1.197 GB, free: 13.6 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2682, allocations: 0 / 1.197 GB, free: 13.6 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.2682, allocations: 7.938 kB / 1.197 GB, free: 13.59 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.2682, allocations: 4 kB / 1.197 GB, free: 13.59 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/0.2685, allocations: 143.8 kB / 1.197 GB, free: 13.45 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.2695, allocations: 0.8711 MB / 1.198 GB, free: 12.52 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.2697, allocations: 149 kB / 1.198 GB, free: 12.33 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.2698, allocations: 84.3 kB / 1.198 GB, free: 12.23 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.2698, allocations: 0 / 1.198 GB, free: 12.23 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002786/0.2701, allocations: 171.5 kB / 1.198 GB, free: 12.04 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=11): time 8.32e-07/0.2701, allocations: 0 / 1.198 GB, free: 12.04 MB / 0.8387 GB Notification: Performance of matching and sorting (n=11): time 0.0004565/0.2706, allocations: 257.3 kB / 1.199 GB, free: 11.78 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.2706, allocations: 158.2 kB / 1.199 GB, free: 11.59 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.2708, allocations: 224.9 kB / 1.199 GB, free: 11.36 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.2708, allocations: 33.92 kB / 1.199 GB, free: 11.32 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 7.678e-05/0.2709, allocations: 164.3 kB / 1.199 GB, free: 11.15 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.2709, allocations: 27.81 kB / 1.199 GB, free: 11.12 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.887e-05/0.271, allocations: 53.69 kB / 1.199 GB, free: 11.07 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 8.604e-05/0.271, allocations: 334.8 kB / 1.2 GB, free: 10.73 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.2712, allocations: 95.92 kB / 1.2 GB, free: 10.64 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.2714, allocations: 179.3 kB / 1.2 GB, free: 10.43 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.2717, allocations: 274.9 kB / 1.2 GB, free: 10.12 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2717, allocations: 0 / 1.2 GB, free: 10.12 MB / 0.8387 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004632/0.2722, allocations: 380.7 kB / 1.2 GB, free: 9.73 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.2722, allocations: 67.39 kB / 1.201 GB, free: 9.652 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2722, allocations: 4 kB / 1.201 GB, free: 9.648 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-06/0.2722, allocations: 0 / 1.201 GB, free: 9.648 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.266e-05/0.2723, allocations: 27.97 kB / 1.201 GB, free: 9.621 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.2723, allocations: 7.938 kB / 1.201 GB, free: 9.613 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.2725, allocations: 71.92 kB / 1.201 GB, free: 9.543 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.2725, allocations: 15.98 kB / 1.201 GB, free: 9.527 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.609e-05/0.2726, allocations: 149.7 kB / 1.201 GB, free: 9.371 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.2726, allocations: 23.84 kB / 1.201 GB, free: 9.348 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.2727, allocations: 21.34 kB / 1.201 GB, free: 9.32 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2727, allocations: 4 kB / 1.201 GB, free: 9.316 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.2727, allocations: 4 kB / 1.201 GB, free: 9.312 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2727, allocations: 3.984 kB / 1.201 GB, free: 9.309 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.2728, allocations: 228.6 kB / 1.201 GB, free: 9.043 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2728, allocations: 0 / 1.201 GB, free: 9.043 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.438e-05/0.2729, allocations: 28.44 kB / 1.201 GB, free: 9.016 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2729, allocations: 7.938 kB / 1.201 GB, free: 9.008 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.2729, allocations: 0 / 1.201 GB, free: 9.008 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.2729, allocations: 7.984 kB / 1.201 GB, free: 9 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2729, allocations: 3.984 kB / 1.201 GB, free: 8.996 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/0.2732, allocations: 240.2 kB / 1.201 GB, free: 8.73 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.2732, allocations: 31.7 kB / 1.201 GB, free: 8.699 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.2732, allocations: 4 kB / 1.201 GB, free: 8.695 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.94e-05/0.2733, allocations: 19.97 kB / 1.201 GB, free: 8.676 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.2734, allocations: 11.98 kB / 1.201 GB, free: 8.664 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.2734, allocations: 11.94 kB / 1.201 GB, free: 8.652 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 9.086e-05/0.2735, allocations: 164.5 kB / 1.202 GB, free: 8.492 MB / 0.8387 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2735, allocations: 0 / 1.202 GB, free: 8.492 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001958/0.2736, allocations: 51.89 kB / 1.202 GB, free: 8.441 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005527/0.2742, allocations: 0.7694 MB / 1.202 GB, free: 7.633 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0004341/0.2746, allocations: 314.5 kB / 1.203 GB, free: 7.301 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.2746, allocations: 0 / 1.203 GB, free: 7.301 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.2748, allocations: 80.36 kB / 1.203 GB, free: 7.223 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.275, allocations: 52.41 kB / 1.203 GB, free: 7.172 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.2776, allocations: 2.578 MB / 1.205 GB, free: 4.426 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.2778, allocations: 0.7437 MB / 1.206 GB, free: 3.656 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 8.281e-05/0.2779, allocations: 41.61 kB / 1.206 GB, free: 3.617 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.054e-05/0.2779, allocations: 63.42 kB / 1.206 GB, free: 3.559 MB / 0.8387 GB Notification: Performance of SimCode: time 8.71e-07/0.2779, allocations: 0 / 1.206 GB, free: 3.559 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.2995, allocations: 5.387 MB / 1.211 GB, free: 14.36 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.71/7.01, allocations: 7.562 kB / 1.211 GB, free: 14.36 MB / 0.8543 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.708175741136074] Failed to read output from testmodel.py, exit status != 0: 7.08940059132874 7.098405943 6.830160049 Calling exit ...