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.00101/0.00101, 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.001063/0.001063, allocations: 215.3 kB / 22.25 MB, free: 3.844 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.9426/0.9426, allocations: 230.6 MB / 256 MB, free: 9.801 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.0402/0.0402, allocations: 12.17 MB / 324.6 MB, free: 6.16 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.0005067/0.0005067, allocations: 31.94 kB / 384.1 MB, free: 10.57 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.62/1.62, allocations: 353.8 MB / 0.7787 GB, free: 3.078 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.001431/0.001431, allocations: 124.8 kB / 1.06 GB, free: 25.04 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2344, allocations: 134.9 MB / 1.192 GB, free: 7.879 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001571/0.236, allocations: 0.7079 MB / 1.192 GB, free: 7.172 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.2373, allocations: 1.297 MB / 1.194 GB, free: 5.863 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.324e-05/0.2373, allocations: 7.938 kB / 1.194 GB, free: 5.855 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 9.943e-05/0.2374, allocations: 11.86 kB / 1.194 GB, free: 5.844 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.176e-05/0.2375, allocations: 19.86 kB / 1.194 GB, free: 5.824 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005358/0.238, allocations: 242.8 kB / 1.194 GB, free: 5.594 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.2383, allocations: 247.6 kB / 1.194 GB, free: 5.352 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.2384, allocations: 27.92 kB / 1.194 GB, free: 5.324 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.2385, allocations: 107.8 kB / 1.194 GB, free: 5.219 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.2387, allocations: 83.72 kB / 1.194 GB, free: 5.137 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.2387, allocations: 20 kB / 1.194 GB, free: 5.117 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.954e-05/0.2388, allocations: 47.91 kB / 1.194 GB, free: 5.07 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.231e-05/0.2388, allocations: 39.91 kB / 1.195 GB, free: 5.031 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.26e-05/0.2389, allocations: 83.64 kB / 1.195 GB, free: 4.949 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.2391, allocations: 239.2 kB / 1.195 GB, free: 4.715 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2391, allocations: 3.938 kB / 1.195 GB, free: 4.711 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2391, allocations: 0 / 1.195 GB, free: 4.711 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2392, allocations: 0 / 1.195 GB, free: 4.711 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.000517/0.2397, allocations: 433 kB / 1.195 GB, free: 4.242 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.2397, allocations: 16.02 kB / 1.195 GB, free: 4.227 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.701e-05/0.2397, allocations: 42.75 kB / 1.195 GB, free: 4.176 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002294/0.24, allocations: 48.84 kB / 1.195 GB, free: 4.129 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.2403, allocations: 199.1 kB / 1.196 GB, free: 3.91 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.2403, allocations: 12.38 kB / 1.196 GB, free: 3.898 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.794e-05/0.2404, allocations: 20.31 kB / 1.196 GB, free: 3.879 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.2405, allocations: 139 kB / 1.196 GB, free: 3.727 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.2406, allocations: 0 / 1.196 GB, free: 3.727 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.2406, allocations: 8 kB / 1.196 GB, free: 3.719 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2406, allocations: 4 kB / 1.196 GB, free: 3.715 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.808e-05/0.2406, allocations: 47.91 kB / 1.196 GB, free: 3.668 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006806/0.2413, allocations: 0.629 MB / 1.196 GB, free: 2.984 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.279e-05/0.2414, allocations: 49.16 kB / 1.196 GB, free: 2.918 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.2414, allocations: 9.719 kB / 1.196 GB, free: 2.902 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.2414, allocations: 8 kB / 1.196 GB, free: 2.895 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.2416, allocations: 93.03 kB / 1.197 GB, free: 2.785 MB / 0.823 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.2416, allocations: 4 kB / 1.197 GB, free: 2.781 MB / 0.823 GB Notification: Performance of matching and sorting (n=6): time 0.0001888/0.2418, allocations: 101.7 kB / 1.197 GB, free: 2.676 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.2418, allocations: 85.11 kB / 1.197 GB, free: 2.574 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.2419, allocations: 169.5 kB / 1.197 GB, free: 2.402 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.242, allocations: 29.7 kB / 1.197 GB, free: 2.367 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.242, allocations: 131.7 kB / 1.197 GB, free: 2.234 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.151e-05/0.242, allocations: 19.83 kB / 1.197 GB, free: 2.215 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.258e-05/0.2421, allocations: 61.67 kB / 1.197 GB, free: 2.148 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.173e-05/0.2422, allocations: 322.8 kB / 1.197 GB, free: 1.824 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.266e-05/0.2422, allocations: 51.97 kB / 1.197 GB, free: 1.773 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.433e-05/0.2423, allocations: 120.5 kB / 1.198 GB, free: 1.625 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.2425, allocations: 170.2 kB / 1.198 GB, free: 1.422 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2425, allocations: 0 / 1.198 GB, free: 1.422 MB / 0.823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003085/0.2428, allocations: 272.7 kB / 1.198 GB, free: 1.137 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/0.2428, allocations: 67.39 kB / 1.198 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2428, allocations: 4 kB / 1.198 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.2428, allocations: 4 kB / 1.198 GB, free: 1.051 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.518e-05/0.2429, allocations: 3.938 kB / 1.198 GB, free: 1.047 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.2429, allocations: 4 kB / 1.198 GB, free: 1.043 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.243, allocations: 56.23 kB / 1.198 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.2431, allocations: 23.92 kB / 1.198 GB, free: 0.9648 MB / 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.713e-05/0.2431, allocations: 135.8 kB / 1.198 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.2432, allocations: 11.89 kB / 1.198 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.2432, allocations: 16.33 kB / 1.198 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2432, allocations: 0 / 1.198 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2432, allocations: 7.938 kB / 1.198 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2432, allocations: 4 kB / 1.198 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.2433, allocations: 176.6 kB / 1.198 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2433, allocations: 0 / 1.198 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.663e-06/0.2433, allocations: 7.938 kB / 1.198 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2433, allocations: 0 / 1.198 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.2433, allocations: 0 / 1.198 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2433, allocations: 4 kB / 1.199 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2433, allocations: 0 / 1.199 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.2434, allocations: 117.9 kB / 1.199 GB, free: 424 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.162e-05/0.2435, allocations: 11.89 kB / 1.199 GB, free: 412 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.2435, allocations: 0 / 1.199 GB, free: 412 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.345e-05/0.2435, allocations: 4 kB / 1.199 GB, free: 408 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.2435, allocations: 8.047 kB / 1.199 GB, free: 400 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.2435, allocations: 8.234 kB / 1.199 GB, free: 392 kB / 0.823 GB Notification: Performance of sorting global known variables: time 6.433e-05/0.2436, allocations: 125.3 kB / 1.199 GB, free: 268 kB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2436, allocations: 0 / 1.199 GB, free: 268 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001951/0.2438, allocations: 39.94 kB / 1.199 GB, free: 228 kB / 0.823 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.0003728/0.2442, allocations: 0.6562 MB / 1.199 GB, free: 15.53 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002293/0.2444, allocations: 215 kB / 1.2 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2444, allocations: 4.125 kB / 1.2 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 3.433e-05/0.2444, allocations: 19.98 kB / 1.2 GB, free: 15.27 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.2446, allocations: 15.98 kB / 1.2 GB, free: 15.26 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.2462, allocations: 1.932 MB / 1.202 GB, free: 13.18 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.2464, allocations: 0.7119 MB / 1.202 GB, free: 12.44 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.029e-05/0.2464, allocations: 8.984 kB / 1.202 GB, free: 12.43 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.285e-05/0.2465, allocations: 39.36 kB / 1.202 GB, free: 12.39 MB / 0.8387 GB Notification: Performance of SimCode: time 5.61e-07/0.2465, allocations: 0 / 1.202 GB, free: 12.39 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.2655, allocations: 3.642 MB / 1.206 GB, free: 8.918 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.431/6.697, allocations: 11.12 kB / 1.206 GB, free: 8.91 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: 10.941778495907784] Failed to read output from testmodel.py, exit status != 0: 6.775380095466971 6.786623361 6.545597558 Calling exit ...