Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.0008517/0.0008517, 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.000896/0.000896, allocations: 217.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.9497/0.9497, allocations: 230.6 MB / 256 MB, free: 9.809 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.04014/0.04014, allocations: 12.18 MB / 324.6 MB, free: 6.293 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.0005388/0.0005388, allocations: 31.94 kB / 384.1 MB, free: 10.69 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.801/1.801, allocations: 353.8 MB / 0.7787 GB, free: 2.969 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.Routing.Validation.RealExtractor,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_RealExtractor",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.001571/0.001571, allocations: 118 kB / 1.06 GB, free: 25.14 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2606, allocations: 134.9 MB / 1.192 GB, free: 7.949 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002043/0.2627, allocations: 1.347 MB / 1.193 GB, free: 6.605 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.2643, allocations: 1.607 MB / 1.195 GB, free: 4.984 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.2644, allocations: 7.938 kB / 1.195 GB, free: 4.977 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.2645, allocations: 27.61 kB / 1.195 GB, free: 4.949 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.2646, allocations: 83.36 kB / 1.195 GB, free: 4.867 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000829/0.2654, allocations: 0.4923 MB / 1.195 GB, free: 4.387 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0005152/0.2659, allocations: 0.656 MB / 1.196 GB, free: 3.73 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.2662, allocations: 113.3 kB / 1.196 GB, free: 3.617 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.2664, allocations: 259.4 kB / 1.196 GB, free: 3.363 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.2666, allocations: 247.2 kB / 1.196 GB, free: 3.121 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 6.265e-05/0.2667, allocations: 67.94 kB / 1.197 GB, free: 3.055 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.2668, allocations: 75.98 kB / 1.197 GB, free: 2.98 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 8.049e-05/0.2668, allocations: 83.7 kB / 1.197 GB, free: 2.898 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.267, allocations: 247 kB / 1.197 GB, free: 2.656 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005079/0.2675, allocations: 0.685 MB / 1.198 GB, free: 1.969 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2675, allocations: 4 kB / 1.198 GB, free: 1.965 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2675, allocations: 4 kB / 1.198 GB, free: 1.961 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.2675, allocations: 0 / 1.198 GB, free: 1.961 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0008775/0.2684, allocations: 0.875 MB / 1.198 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2685, allocations: 8.031 kB / 1.198 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.368e-05/0.2685, allocations: 66.72 kB / 1.199 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.72e-05/0.2686, allocations: 48.7 kB / 1.199 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.2696, allocations: 397.5 kB / 1.199 GB, free: 464 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.2696, allocations: 40.73 kB / 1.199 GB, free: 424 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.2697, allocations: 40.38 kB / 1.199 GB, free: 384 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/0.2701, allocations: 324.3 kB / 1.199 GB, free: 56 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2701, allocations: 0 / 1.199 GB, free: 56 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.2702, allocations: 16 kB / 1.199 GB, free: 40 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.2702, allocations: 4 kB / 1.199 GB, free: 36 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/0.2705, allocations: 257.8 kB / 1.2 GB, free: 15.78 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.2717, allocations: 0.8758 MB / 1.2 GB, free: 14.86 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004116/0.2721, allocations: 355.5 kB / 1.201 GB, free: 14.51 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.2724, allocations: 263.9 kB / 1.201 GB, free: 14.25 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.2724, allocations: 4 kB / 1.201 GB, free: 14.25 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003396/0.2727, allocations: 319 kB / 1.201 GB, free: 13.92 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=44): time 2.354e-06/0.2727, allocations: 3.984 kB / 1.201 GB, free: 13.92 MB / 0.8387 GB Notification: Performance of matching and sorting (n=44): time 0.000965/0.2737, allocations: 0.8412 MB / 1.202 GB, free: 13.04 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.698e-05/0.2738, allocations: 187.9 kB / 1.202 GB, free: 12.81 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.274, allocations: 292.5 kB / 1.203 GB, free: 12.52 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.2741, allocations: 37.7 kB / 1.203 GB, free: 12.47 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.2742, allocations: 172.9 kB / 1.203 GB, free: 12.3 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 8.024e-05/0.2743, allocations: 138.8 kB / 1.203 GB, free: 12.16 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.2744, allocations: 134.1 kB / 1.203 GB, free: 12.03 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2745, allocations: 350.8 kB / 1.203 GB, free: 11.68 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.2749, allocations: 276.7 kB / 1.204 GB, free: 11.41 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003844/0.2753, allocations: 357.5 kB / 1.204 GB, free: 11.02 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000732/0.276, allocations: 0.9128 MB / 1.205 GB, free: 9.992 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.276, allocations: 8 kB / 1.205 GB, free: 9.984 MB / 0.8387 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001271/0.2773, allocations: 0.9902 MB / 1.206 GB, free: 8.938 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.2774, allocations: 263.3 kB / 1.206 GB, free: 8.625 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2774, allocations: 4 kB / 1.206 GB, free: 8.621 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.2774, allocations: 4 kB / 1.206 GB, free: 8.617 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.2776, allocations: 67.89 kB / 1.206 GB, free: 8.551 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.2776, allocations: 4 kB / 1.206 GB, free: 8.547 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000365/0.2779, allocations: 147.5 kB / 1.206 GB, free: 8.402 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.837e-05/0.278, allocations: 63.92 kB / 1.206 GB, free: 8.34 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0001929/0.2782, allocations: 326.1 kB / 1.207 GB, free: 7.98 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.2782, allocations: 35.77 kB / 1.207 GB, free: 7.945 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.14e-05/0.2783, allocations: 39.48 kB / 1.207 GB, free: 7.898 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2783, allocations: 4 kB / 1.207 GB, free: 7.895 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.2783, allocations: 0 / 1.207 GB, free: 7.895 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.2783, allocations: 7.984 kB / 1.207 GB, free: 7.887 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.2794, allocations: 1.158 MB / 1.208 GB, free: 6.648 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.2794, allocations: 0 / 1.208 GB, free: 6.648 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.2795, allocations: 63.89 kB / 1.208 GB, free: 6.586 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2795, allocations: 11.92 kB / 1.208 GB, free: 6.574 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.2795, allocations: 12 kB / 1.208 GB, free: 6.562 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.2795, allocations: 7.938 kB / 1.208 GB, free: 6.555 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.2795, allocations: 0 / 1.208 GB, free: 6.555 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006419/0.2802, allocations: 0.7642 MB / 1.209 GB, free: 5.746 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.2802, allocations: 47.59 kB / 1.209 GB, free: 5.699 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.2802, allocations: 15.98 kB / 1.209 GB, free: 5.684 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.2803, allocations: 31.91 kB / 1.209 GB, free: 5.652 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.2804, allocations: 35.94 kB / 1.209 GB, free: 5.617 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/0.2804, allocations: 47.89 kB / 1.209 GB, free: 5.57 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.0001334/0.2806, allocations: 199.1 kB / 1.209 GB, free: 5.375 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2806, allocations: 0 / 1.209 GB, free: 5.375 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002986/0.2809, allocations: 111.9 kB / 1.209 GB, free: 5.266 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * 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.0008643/0.2817, allocations: 1.324 MB / 1.211 GB, free: 3.887 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0008705/0.2826, allocations: 1.043 MB / 1.212 GB, free: 2.73 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.2826, allocations: 4.188 kB / 1.212 GB, free: 2.727 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003424/0.2829, allocations: 0.489 MB / 1.212 GB, free: 2.176 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.2833, allocations: 92.41 kB / 1.212 GB, free: 2.086 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004531/0.2878, allocations: 4.648 MB / 1.217 GB, free: 13.24 MB / 0.8543 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.2881, allocations: 0.8038 MB / 1.217 GB, free: 12.41 MB / 0.8543 GB Notification: Performance of simCode: alias equations: time 0.0001806/0.2883, allocations: 91.19 kB / 1.218 GB, free: 12.32 MB / 0.8543 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.2884, allocations: 119.4 kB / 1.218 GB, free: 12.2 MB / 0.8543 GB Notification: Performance of SimCode: time 1.092e-06/0.2884, allocations: 0 / 1.218 GB, free: 12.2 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.3144, allocations: 10.2 MB / 1.228 GB, free: 2.223 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.88/7.194, allocations: 19.66 kB / 1.228 GB, free: 2.211 MB / 0.8543 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor_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_RealExtractor.fmu > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.9458839436993] Failed to read output from testmodel.py, exit status != 0: 7.275616089813411 7.285012669 7.015643852 Calling exit ...