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.001221/0.001221, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001176/0.001176, allocations: 208.1 kB / 22.25 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.9691/0.9691, allocations: 230.6 MB / 256 MB, free: 9.605 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.03908/0.03908, allocations: 12.19 MB / 324.6 MB, free: 6.098 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.0006009/0.0006009, allocations: 31.94 kB / 384.1 MB, free: 10.52 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.724/1.724, allocations: 353.8 MB / 0.7787 GB, free: 4.531 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.001485/0.001485, allocations: 123.5 kB / 1.06 GB, free: 24.89 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2169, allocations: 134.9 MB / 1.192 GB, free: 7.539 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002037/0.219, allocations: 1.233 MB / 1.193 GB, free: 6.309 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.2207, allocations: 1.591 MB / 1.194 GB, free: 4.703 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.2208, allocations: 4 kB / 1.194 GB, free: 4.699 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.221, allocations: 35.55 kB / 1.194 GB, free: 4.664 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.2211, allocations: 75.36 kB / 1.195 GB, free: 4.59 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008628/0.222, allocations: 0.5 MB / 1.195 GB, free: 4.102 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0004778/0.2224, allocations: 0.6482 MB / 1.196 GB, free: 3.453 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002552/0.2227, allocations: 109.3 kB / 1.196 GB, free: 3.344 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.2229, allocations: 255.4 kB / 1.196 GB, free: 3.094 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.2231, allocations: 219.1 kB / 1.196 GB, free: 2.879 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 5.845e-05/0.2232, allocations: 64 kB / 1.196 GB, free: 2.816 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.2233, allocations: 75.98 kB / 1.196 GB, free: 2.742 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 7.989e-05/0.2233, allocations: 87.62 kB / 1.196 GB, free: 2.656 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.2235, allocations: 211.2 kB / 1.197 GB, free: 2.449 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005141/0.224, allocations: 0.689 MB / 1.197 GB, free: 1.758 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.224, allocations: 4 kB / 1.197 GB, free: 1.754 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.875e-06/0.224, allocations: 0 / 1.197 GB, free: 1.754 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.224, allocations: 3.938 kB / 1.197 GB, free: 1.75 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.0009896/0.225, allocations: 0.8711 MB / 1.198 GB, free: 0.793 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.225, allocations: 8.031 kB / 1.198 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.783e-05/0.2251, allocations: 62.72 kB / 1.198 GB, free: 0.7148 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.254e-05/0.2252, allocations: 52.66 kB / 1.198 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007598/0.2259, allocations: 401.5 kB / 1.199 GB, free: 252 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.226, allocations: 32.86 kB / 1.199 GB, free: 220 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.663e-05/0.226, allocations: 40.38 kB / 1.199 GB, free: 180 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/0.2265, allocations: 464.6 kB / 1.199 GB, free: 15.68 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.2265, allocations: 0 / 1.199 GB, free: 15.68 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.2265, allocations: 15.88 kB / 1.199 GB, free: 15.67 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.2265, allocations: 4 kB / 1.199 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004067/0.2269, allocations: 386.3 kB / 1.2 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.2282, allocations: 0.7862 MB / 1.2 GB, free: 14.43 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/0.2287, allocations: 490.5 kB / 1.201 GB, free: 13.91 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.229, allocations: 391.6 kB / 1.201 GB, free: 13.5 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.229, allocations: 4 kB / 1.201 GB, free: 13.5 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003937/0.2294, allocations: 459.5 kB / 1.202 GB, free: 13 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=44): time 1.974e-06/0.2294, allocations: 0 / 1.202 GB, free: 13 MB / 0.8387 GB Notification: Performance of matching and sorting (n=44): time 0.001041/0.2305, allocations: 1.104 MB / 1.203 GB, free: 11.8 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/0.2305, allocations: 195.9 kB / 1.203 GB, free: 11.57 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.2307, allocations: 288.5 kB / 1.203 GB, free: 11.27 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/0.2308, allocations: 41.7 kB / 1.203 GB, free: 11.23 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 9.847e-05/0.2309, allocations: 172.9 kB / 1.203 GB, free: 11.05 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 7e-05/0.231, allocations: 134.9 kB / 1.203 GB, free: 10.92 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.2311, allocations: 134.1 kB / 1.204 GB, free: 10.79 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.2312, allocations: 354.7 kB / 1.204 GB, free: 10.43 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/0.2316, allocations: 0.5274 MB / 1.204 GB, free: 9.848 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004488/0.2321, allocations: 0.6062 MB / 1.205 GB, free: 9.148 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006566/0.2327, allocations: 0.9129 MB / 1.206 GB, free: 8.121 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2327, allocations: 0 / 1.206 GB, free: 8.121 MB / 0.8387 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001156/0.2339, allocations: 1.259 MB / 1.207 GB, free: 6.746 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 9.51e-05/0.234, allocations: 263.6 kB / 1.207 GB, free: 6.434 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.234, allocations: 4 kB / 1.207 GB, free: 6.43 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.234, allocations: 8 kB / 1.207 GB, free: 6.422 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.2342, allocations: 59.89 kB / 1.208 GB, free: 6.363 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.2342, allocations: 8 kB / 1.208 GB, free: 6.355 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.2345, allocations: 147.6 kB / 1.208 GB, free: 6.211 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.185e-05/0.2346, allocations: 67.86 kB / 1.208 GB, free: 6.145 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.0001882/0.2348, allocations: 318.1 kB / 1.208 GB, free: 5.793 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.2348, allocations: 39.77 kB / 1.208 GB, free: 5.754 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.239e-05/0.2349, allocations: 43.48 kB / 1.208 GB, free: 5.703 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2349, allocations: 4 kB / 1.208 GB, free: 5.699 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.2349, allocations: 0 / 1.208 GB, free: 5.699 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.2349, allocations: 3.984 kB / 1.208 GB, free: 5.695 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.2359, allocations: 1.26 MB / 1.209 GB, free: 4.324 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2359, allocations: 0 / 1.209 GB, free: 4.324 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.236, allocations: 63.89 kB / 1.209 GB, free: 4.262 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.236, allocations: 4 kB / 1.209 GB, free: 4.258 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.2361, allocations: 8 kB / 1.209 GB, free: 4.25 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.2361, allocations: 11.92 kB / 1.209 GB, free: 4.238 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.2361, allocations: 3.938 kB / 1.209 GB, free: 4.234 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006448/0.2367, allocations: 0.9014 MB / 1.21 GB, free: 3.258 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.2367, allocations: 43.59 kB / 1.21 GB, free: 3.215 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.2368, allocations: 16 kB / 1.21 GB, free: 3.199 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.2369, allocations: 27.91 kB / 1.21 GB, free: 3.172 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.988e-05/0.237, allocations: 39.94 kB / 1.21 GB, free: 3.133 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.375e-05/0.237, allocations: 51.94 kB / 1.21 GB, free: 3.082 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.0001253/0.2371, allocations: 199.1 kB / 1.211 GB, free: 2.887 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2371, allocations: 0 / 1.211 GB, free: 2.887 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002776/0.2374, allocations: 104 kB / 1.211 GB, free: 2.785 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.0008892/0.2383, allocations: 1.46 MB / 1.212 GB, free: 1.238 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.2394, allocations: 1.43 MB / 1.214 GB, free: 15.61 MB / 0.8543 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2394, allocations: 11.94 kB / 1.214 GB, free: 15.6 MB / 0.8543 GB Notification: Performance of simCode: created simulation system equations: time 0.000357/0.2398, allocations: 0.6223 MB / 1.214 GB, free: 14.89 MB / 0.8543 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.2401, allocations: 96.39 kB / 1.214 GB, free: 14.79 MB / 0.8543 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004443/0.2446, allocations: 5.833 MB / 1.22 GB, free: 8.516 MB / 0.8543 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.2448, allocations: 192.8 kB / 1.22 GB, free: 8.305 MB / 0.8543 GB Notification: Performance of simCode: alias equations: time 0.0001596/0.245, allocations: 91.19 kB / 1.22 GB, free: 8.215 MB / 0.8543 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.2451, allocations: 123.4 kB / 1.22 GB, free: 8.094 MB / 0.8543 GB Notification: Performance of SimCode: time 2.134e-06/0.2451, allocations: 4 kB / 1.22 GB, free: 8.09 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.2698, allocations: 11.08 MB / 1.231 GB, free: 13.26 MB / 0.8699 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.706/6.976, allocations: 9.766 kB / 1.231 GB, free: 13.25 MB / 0.8699 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.45682227704674] Failed to read output from testmodel.py, exit status != 0: 7.0564680164679885 7.065046118 6.839313977 Calling exit ...