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.000888/0.000888, 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.0008484/0.0008484, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9462/0.9462, 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.03841/0.03841, allocations: 12.19 MB / 324.6 MB, free: 6.066 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.0004084/0.0004084, allocations: 19.97 kB / 384.1 MB, free: 10.5 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.716/1.716, allocations: 353.9 MB / 0.7787 GB, free: 4.504 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.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.00171/0.00171, allocations: 123.3 kB / 1.06 GB, free: 24.55 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2272, allocations: 134.9 MB / 1.192 GB, free: 7.344 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001613/0.2288, allocations: 0.9404 MB / 1.193 GB, free: 6.406 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.2301, allocations: 1.359 MB / 1.194 GB, free: 5.035 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.585e-05/0.2302, allocations: 0 / 1.194 GB, free: 5.035 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.2303, allocations: 23.73 kB / 1.194 GB, free: 5.012 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.367e-05/0.2304, allocations: 47.64 kB / 1.194 GB, free: 4.965 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006156/0.231, allocations: 273.4 kB / 1.194 GB, free: 4.703 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.2313, allocations: 391.2 kB / 1.195 GB, free: 4.32 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.2315, allocations: 45.72 kB / 1.195 GB, free: 4.273 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.2316, allocations: 155.6 kB / 1.195 GB, free: 4.121 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.2318, allocations: 115.5 kB / 1.195 GB, free: 4.008 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/0.2318, allocations: 36 kB / 1.195 GB, free: 3.973 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.836e-05/0.2319, allocations: 59.92 kB / 1.195 GB, free: 3.914 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 7.099e-05/0.232, allocations: 55.83 kB / 1.195 GB, free: 3.859 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.2321, allocations: 119.5 kB / 1.195 GB, free: 3.742 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.2324, allocations: 410.5 kB / 1.196 GB, free: 3.34 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2324, allocations: 0 / 1.196 GB, free: 3.34 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2324, allocations: 0 / 1.196 GB, free: 3.34 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.2324, allocations: 3.938 kB / 1.196 GB, free: 3.336 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006854/0.2331, allocations: 0.5487 MB / 1.196 GB, free: 2.742 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.2331, allocations: 12.03 kB / 1.196 GB, free: 2.73 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.2332, allocations: 50.73 kB / 1.196 GB, free: 2.672 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002549/0.2334, allocations: 68.7 kB / 1.196 GB, free: 2.605 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005268/0.234, allocations: 309.1 kB / 1.197 GB, free: 2.281 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.234, allocations: 12.38 kB / 1.197 GB, free: 2.27 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.234, allocations: 20.38 kB / 1.197 GB, free: 2.25 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.2343, allocations: 214.1 kB / 1.197 GB, free: 2.02 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2343, allocations: 0 / 1.197 GB, free: 2.02 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.2343, allocations: 4 kB / 1.197 GB, free: 2.016 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.2343, allocations: 4 kB / 1.197 GB, free: 2.012 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002473/0.2346, allocations: 139.8 kB / 1.197 GB, free: 1.875 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007385/0.2353, allocations: 0.8243 MB / 1.198 GB, free: 0.9922 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.2355, allocations: 149 kB / 1.198 GB, free: 0.8008 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.2356, allocations: 84.23 kB / 1.198 GB, free: 0.7031 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.2356, allocations: 4 kB / 1.198 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003152/0.2359, allocations: 175.5 kB / 1.198 GB, free: 0.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.2359, allocations: 0 / 1.198 GB, free: 0.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=11): time 0.0004929/0.2364, allocations: 253.6 kB / 1.198 GB, free: 252 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/0.2365, allocations: 162.2 kB / 1.199 GB, free: 52 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.2367, allocations: 228.8 kB / 1.199 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.2367, allocations: 33.7 kB / 1.199 GB, free: 15.78 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 8.04e-05/0.2368, allocations: 152.3 kB / 1.199 GB, free: 15.62 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.2368, allocations: 27.75 kB / 1.199 GB, free: 15.6 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.961e-05/0.2369, allocations: 53.67 kB / 1.199 GB, free: 15.54 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 8.616e-05/0.237, allocations: 330.8 kB / 1.199 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.2372, allocations: 171.4 kB / 1.199 GB, free: 15.03 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.2374, allocations: 286.2 kB / 1.2 GB, free: 14.69 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.2377, allocations: 274.9 kB / 1.2 GB, free: 14.38 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2377, allocations: 0 / 1.2 GB, free: 14.38 MB / 0.8387 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004982/0.2382, allocations: 448 kB / 1.2 GB, free: 13.91 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 4.878e-05/0.2383, allocations: 63.39 kB / 1.2 GB, free: 13.84 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2383, allocations: 0 / 1.2 GB, free: 13.84 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.2383, allocations: 4 kB / 1.2 GB, free: 13.84 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.782e-05/0.2384, allocations: 32.12 kB / 1.201 GB, free: 13.8 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.2384, allocations: 4 kB / 1.201 GB, free: 13.8 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.2386, allocations: 71.86 kB / 1.201 GB, free: 13.73 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.2386, allocations: 16.45 kB / 1.201 GB, free: 13.71 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 0.0001071/0.2387, allocations: 145.8 kB / 1.201 GB, free: 13.56 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.2388, allocations: 31.84 kB / 1.201 GB, free: 13.53 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.301e-05/0.2388, allocations: 29.22 kB / 1.201 GB, free: 13.5 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2388, allocations: 3.984 kB / 1.201 GB, free: 13.49 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2388, allocations: 8 kB / 1.201 GB, free: 13.48 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.2388, allocations: 3.984 kB / 1.201 GB, free: 13.48 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.239, allocations: 212.6 kB / 1.201 GB, free: 13.23 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.239, allocations: 4 kB / 1.201 GB, free: 13.23 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.682e-05/0.239, allocations: 23.97 kB / 1.201 GB, free: 13.2 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2391, allocations: 4 kB / 1.201 GB, free: 13.2 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-06/0.2391, allocations: 4 kB / 1.201 GB, free: 13.2 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.2391, allocations: 4 kB / 1.201 GB, free: 13.19 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.2391, allocations: 3.984 kB / 1.201 GB, free: 13.19 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.2394, allocations: 244.1 kB / 1.201 GB, free: 12.92 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.053e-05/0.2394, allocations: 19.83 kB / 1.201 GB, free: 12.9 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.2394, allocations: 12 kB / 1.201 GB, free: 12.89 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.062e-05/0.2395, allocations: 11.98 kB / 1.201 GB, free: 12.88 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.2395, allocations: 19.97 kB / 1.201 GB, free: 12.86 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.2395, allocations: 7.938 kB / 1.201 GB, free: 12.85 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 9.378e-05/0.2396, allocations: 164.5 kB / 1.202 GB, free: 12.69 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2396, allocations: 0 / 1.202 GB, free: 12.69 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001991/0.2398, allocations: 51.89 kB / 1.202 GB, free: 12.64 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.0005315/0.2404, allocations: 0.7781 MB / 1.202 GB, free: 11.82 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0004532/0.2408, allocations: 378 kB / 1.203 GB, free: 11.42 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2408, allocations: 0 / 1.203 GB, free: 11.42 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.241, allocations: 75.81 kB / 1.203 GB, free: 11.34 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.2412, allocations: 53.06 kB / 1.203 GB, free: 11.29 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.2436, allocations: 2.83 MB / 1.206 GB, free: 8.242 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.373e-05/0.2437, allocations: 132.9 kB / 1.206 GB, free: 8.094 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 9.242e-05/0.2438, allocations: 37.61 kB / 1.206 GB, free: 8.055 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.589e-05/0.2439, allocations: 67.42 kB / 1.206 GB, free: 7.992 MB / 0.8387 GB Notification: Performance of SimCode: time 1.463e-06/0.2439, allocations: 0 / 1.206 GB, free: 7.992 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/0.2615, allocations: 6.093 MB / 1.212 GB, free: 2.109 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.418/6.679, allocations: 10.17 kB / 1.212 GB, free: 2.102 MB / 0.8387 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.070549533702433] Failed to read output from testmodel.py, exit status != 0: 6.758808353915811 6.766036468 6.531852518 Calling exit ...