Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.0009155/0.0009155, 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.001055/0.001055, allocations: 207.6 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.9587/0.9587, allocations: 230.6 MB / 256 MB, free: 9.602 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.03669/0.03669, allocations: 12.18 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.0004423/0.0004423, allocations: 27.95 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.689/1.689, allocations: 353.9 MB / 0.7787 GB, free: 4.586 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.BooleanExtractSignal,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",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.001338/0.001338, allocations: 116.2 kB / 1.06 GB, free: 24.87 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.209, allocations: 134.9 MB / 1.192 GB, free: 7.543 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001335/0.2103, allocations: 0.6768 MB / 1.192 GB, free: 6.867 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.2116, allocations: 1.293 MB / 1.194 GB, free: 5.562 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.394e-05/0.2116, allocations: 0 / 1.194 GB, free: 5.562 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 9.158e-05/0.2117, allocations: 11.86 kB / 1.194 GB, free: 5.551 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.6e-05/0.2117, allocations: 15.88 kB / 1.194 GB, free: 5.535 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/0.2122, allocations: 240 kB / 1.194 GB, free: 5.305 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000222/0.2125, allocations: 247.6 kB / 1.194 GB, free: 5.062 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.2126, allocations: 31.86 kB / 1.194 GB, free: 5.031 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.812e-05/0.2127, allocations: 103.9 kB / 1.194 GB, free: 4.93 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.2128, allocations: 67.78 kB / 1.194 GB, free: 4.863 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.2128, allocations: 23.98 kB / 1.194 GB, free: 4.84 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.626e-05/0.2129, allocations: 39.98 kB / 1.194 GB, free: 4.801 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.213, allocations: 31.86 kB / 1.194 GB, free: 4.77 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.645e-05/0.213, allocations: 79.75 kB / 1.194 GB, free: 4.691 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.2132, allocations: 235.1 kB / 1.195 GB, free: 4.461 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2133, allocations: 0 / 1.195 GB, free: 4.461 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2133, allocations: 4 kB / 1.195 GB, free: 4.457 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2133, allocations: 0 / 1.195 GB, free: 4.457 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004511/0.2137, allocations: 437 kB / 1.195 GB, free: 3.984 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2138, allocations: 12.03 kB / 1.195 GB, free: 3.973 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.975e-05/0.2138, allocations: 38.75 kB / 1.195 GB, free: 3.926 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/0.214, allocations: 48.84 kB / 1.195 GB, free: 3.879 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.2143, allocations: 207.4 kB / 1.195 GB, free: 3.652 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.2144, allocations: 8.375 kB / 1.195 GB, free: 3.645 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.2144, allocations: 24.38 kB / 1.195 GB, free: 3.621 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.2145, allocations: 137.3 kB / 1.196 GB, free: 3.469 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2145, allocations: 3.938 kB / 1.196 GB, free: 3.465 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.2145, allocations: 8 kB / 1.196 GB, free: 3.457 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2145, allocations: 0 / 1.196 GB, free: 3.457 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.546e-05/0.2146, allocations: 51.91 kB / 1.196 GB, free: 3.406 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.215, allocations: 0.5979 MB / 1.196 GB, free: 2.754 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.043e-05/0.2151, allocations: 41.16 kB / 1.196 GB, free: 2.695 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.2151, allocations: 17.77 kB / 1.196 GB, free: 2.672 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.2151, allocations: 7.938 kB / 1.196 GB, free: 2.664 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.2152, allocations: 85.09 kB / 1.196 GB, free: 2.562 MB / 0.823 GB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.2152, allocations: 3.984 kB / 1.196 GB, free: 2.559 MB / 0.823 GB Notification: Performance of matching and sorting (n=6): time 0.0001838/0.2154, allocations: 105.5 kB / 1.196 GB, free: 2.449 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.2155, allocations: 81.11 kB / 1.197 GB, free: 2.352 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.2156, allocations: 172.3 kB / 1.197 GB, free: 2.176 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.2156, allocations: 29.7 kB / 1.197 GB, free: 2.141 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/0.2156, allocations: 127.7 kB / 1.197 GB, free: 2.012 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.2157, allocations: 23.83 kB / 1.197 GB, free: 1.988 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.2157, allocations: 61.69 kB / 1.197 GB, free: 1.922 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.989e-05/0.2158, allocations: 322.8 kB / 1.197 GB, free: 1.598 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.2159, allocations: 111.4 kB / 1.197 GB, free: 1.477 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.216, allocations: 229.1 kB / 1.198 GB, free: 1.199 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.2161, allocations: 178.1 kB / 1.198 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2161, allocations: 32 / 1.198 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000278/0.2164, allocations: 336.1 kB / 1.198 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.2165, allocations: 63.39 kB / 1.198 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2165, allocations: 0 / 1.198 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.2165, allocations: 7.938 kB / 1.198 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.399e-05/0.2165, allocations: 4 kB / 1.198 GB, free: 0.543 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.2165, allocations: 0 / 1.198 GB, free: 0.543 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.2166, allocations: 64.14 kB / 1.198 GB, free: 492 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.2167, allocations: 11.98 kB / 1.198 GB, free: 480 kB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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 8.335e-05/0.2167, allocations: 137.8 kB / 1.198 GB, free: 332 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.2168, allocations: 19.94 kB / 1.198 GB, free: 312 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.2168, allocations: 20.27 kB / 1.198 GB, free: 284 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2168, allocations: 0 / 1.198 GB, free: 284 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2168, allocations: 0 / 1.198 GB, free: 284 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2168, allocations: 4 kB / 1.198 GB, free: 280 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.2169, allocations: 176.6 kB / 1.199 GB, free: 60 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2169, allocations: 0 / 1.199 GB, free: 60 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-06/0.2169, allocations: 4 kB / 1.199 GB, free: 56 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2169, allocations: 4 kB / 1.199 GB, free: 52 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.2169, allocations: 7.984 kB / 1.199 GB, free: 44 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.2169, allocations: 0 / 1.199 GB, free: 44 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2169, allocations: 0 / 1.199 GB, free: 44 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.217, allocations: 118.2 kB / 1.199 GB, free: 15.9 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-06/0.217, allocations: 7.953 kB / 1.199 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.217, allocations: 8 kB / 1.199 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.223e-05/0.2171, allocations: 4 kB / 1.199 GB, free: 15.88 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.2171, allocations: 11.97 kB / 1.199 GB, free: 15.87 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.2171, allocations: 0 / 1.199 GB, free: 15.87 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 5.437e-05/0.2171, allocations: 124.9 kB / 1.199 GB, free: 15.75 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2171, allocations: 0 / 1.199 GB, free: 15.75 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001667/0.2173, allocations: 39.95 kB / 1.199 GB, free: 15.71 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0002828/0.2176, allocations: 0.6561 MB / 1.199 GB, free: 15.02 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.000375/0.218, allocations: 266.4 kB / 1.2 GB, free: 14.73 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.218, allocations: 8.188 kB / 1.2 GB, free: 14.72 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 2.687e-05/0.218, allocations: 19.92 kB / 1.2 GB, free: 14.7 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.2182, allocations: 30.14 kB / 1.2 GB, free: 14.67 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.2196, allocations: 2.168 MB / 1.202 GB, free: 12.31 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.86e-05/0.2196, allocations: 105.8 kB / 1.202 GB, free: 12.19 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.603e-05/0.2197, allocations: 12.92 kB / 1.202 GB, free: 12.17 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.2197, allocations: 39.64 kB / 1.202 GB, free: 12.13 MB / 0.8387 GB Notification: Performance of SimCode: time 5.01e-07/0.2197, allocations: 0 / 1.202 GB, free: 12.13 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.2387, allocations: 4.238 MB / 1.206 GB, free: 8.078 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.606/6.844, allocations: 14.33 kB / 1.206 GB, free: 8.066 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.19628587178886] Failed to read output from testmodel.py, exit status != 0: 6.92397481109947 6.933469286 6.718474603 Calling exit ...