Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.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.0009225/0.0009225, 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.0009176/0.0009176, 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.9544/0.9544, allocations: 230.6 MB / 256 MB, free: 9.59 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.03591/0.03591, allocations: 12.19 MB / 324.6 MB, free: 6.148 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.0004582/0.0004582, allocations: 35.88 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.674/1.674, 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.Logical.Validation.Switch,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Switch",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.001434/0.001434, allocations: 123.6 kB / 1.06 GB, free: 24.66 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2187, allocations: 134.9 MB / 1.192 GB, free: 7.48 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001599/0.2203, allocations: 0.6695 MB / 1.192 GB, free: 6.812 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.2216, allocations: 1.297 MB / 1.194 GB, free: 5.504 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.174e-05/0.2216, allocations: 4 kB / 1.194 GB, free: 5.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.632e-05/0.2216, allocations: 7.875 kB / 1.194 GB, free: 5.492 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.362e-05/0.2217, allocations: 15.86 kB / 1.194 GB, free: 5.477 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005792/0.2223, allocations: 314 kB / 1.194 GB, free: 5.18 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000214/0.2225, allocations: 259.5 kB / 1.194 GB, free: 4.926 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.636e-05/0.2226, allocations: 12.19 kB / 1.194 GB, free: 4.91 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.924e-05/0.2227, allocations: 99.86 kB / 1.194 GB, free: 4.812 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.2228, allocations: 83.73 kB / 1.194 GB, free: 4.73 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.2228, allocations: 20 kB / 1.194 GB, free: 4.711 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.278e-05/0.2229, allocations: 32 kB / 1.194 GB, free: 4.68 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.312e-05/0.2229, allocations: 23.86 kB / 1.194 GB, free: 4.656 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.223, allocations: 83.8 kB / 1.195 GB, free: 4.574 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.2232, allocations: 219.6 kB / 1.195 GB, free: 4.359 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2232, allocations: 0 / 1.195 GB, free: 4.359 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2232, allocations: 0 / 1.195 GB, free: 4.359 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2232, allocations: 0 / 1.195 GB, free: 4.359 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000403/0.2236, allocations: 419.2 kB / 1.195 GB, free: 3.902 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.2236, allocations: 12.02 kB / 1.195 GB, free: 3.891 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.465e-05/0.2236, allocations: 34.69 kB / 1.195 GB, free: 3.848 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.2237, allocations: 16.89 kB / 1.195 GB, free: 3.832 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.939e-05/0.2238, allocations: 118.4 kB / 1.195 GB, free: 3.691 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.2238, allocations: 12.36 kB / 1.195 GB, free: 3.68 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.2238, allocations: 16.38 kB / 1.195 GB, free: 3.664 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.827e-05/0.2239, allocations: 61.98 kB / 1.195 GB, free: 3.598 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.2239, allocations: 0 / 1.195 GB, free: 3.598 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.2239, allocations: 0 / 1.195 GB, free: 3.598 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2239, allocations: 0 / 1.195 GB, free: 3.598 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.961e-05/0.2239, allocations: 27.92 kB / 1.195 GB, free: 3.57 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004946/0.2244, allocations: 339.7 kB / 1.196 GB, free: 3.195 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.408e-05/0.2245, allocations: 30.56 kB / 1.196 GB, free: 3.156 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.635e-05/0.2245, allocations: 20.94 kB / 1.196 GB, free: 3.133 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.2245, allocations: 0 / 1.196 GB, free: 3.133 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.2247, allocations: 111.3 kB / 1.196 GB, free: 3.012 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.2247, allocations: 0 / 1.196 GB, free: 3.012 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.0002239/0.2249, allocations: 145.5 kB / 1.196 GB, free: 2.863 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.2249, allocations: 55.41 kB / 1.196 GB, free: 2.797 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.28e-05/0.225, allocations: 135.3 kB / 1.196 GB, free: 2.656 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.225, allocations: 29.7 kB / 1.196 GB, free: 2.621 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.2251, allocations: 104.5 kB / 1.196 GB, free: 2.516 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.266e-05/0.2251, allocations: 15.91 kB / 1.196 GB, free: 2.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.875e-05/0.2252, allocations: 65.67 kB / 1.196 GB, free: 2.43 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.844e-05/0.2252, allocations: 326.8 kB / 1.197 GB, free: 2.102 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.2254, allocations: 189 kB / 1.197 GB, free: 1.898 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.2256, allocations: 237.2 kB / 1.197 GB, free: 1.629 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.2257, allocations: 227 kB / 1.197 GB, free: 1.367 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2257, allocations: 4 kB / 1.197 GB, free: 1.363 MB / 0.823 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003911/0.2261, allocations: 486.1 kB / 1.198 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.2262, allocations: 97.09 kB / 1.198 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.2262, allocations: 0 / 1.198 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2262, allocations: 4 kB / 1.198 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.595e-05/0.2262, allocations: 4 kB / 1.198 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2262, allocations: 0 / 1.198 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.2265, allocations: 88.02 kB / 1.198 GB, free: 0.6406 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.2265, allocations: 15.98 kB / 1.198 GB, free: 0.625 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.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): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 7.673e-05/0.2266, allocations: 137.7 kB / 1.198 GB, free: 492 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-06/0.2266, allocations: 7.953 kB / 1.198 GB, free: 484 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.054e-05/0.2266, allocations: 8.375 kB / 1.198 GB, free: 472 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2266, allocations: 0 / 1.198 GB, free: 472 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.2266, allocations: 0 / 1.198 GB, free: 472 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.2266, allocations: 7.984 kB / 1.198 GB, free: 464 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.368e-05/0.2267, allocations: 164.6 kB / 1.198 GB, free: 256 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2267, allocations: 0 / 1.198 GB, free: 256 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-06/0.2267, allocations: 0 / 1.198 GB, free: 256 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2267, allocations: 0 / 1.198 GB, free: 256 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.2267, allocations: 4 kB / 1.198 GB, free: 252 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2267, allocations: 0 / 1.198 GB, free: 252 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2267, allocations: 0 / 1.198 GB, free: 252 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.2268, allocations: 148.9 kB / 1.198 GB, free: 84 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-06/0.2268, allocations: 7.891 kB / 1.198 GB, free: 76 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.2268, allocations: 4 kB / 1.198 GB, free: 72 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.749e-05/0.2269, allocations: 11.92 kB / 1.199 GB, free: 60 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.2269, allocations: 11.98 kB / 1.199 GB, free: 48 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-06/0.2269, allocations: 8 kB / 1.199 GB, free: 40 kB / 0.823 GB Notification: Performance of sorting global known variables: time 4.614e-05/0.2269, allocations: 97.23 kB / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2269, allocations: 0 / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001657/0.2271, allocations: 43.94 kB / 1.199 GB, free: 15.9 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003101/0.2274, allocations: 0.6826 MB / 1.199 GB, free: 15.19 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0003257/0.2277, allocations: 415.5 kB / 1.2 GB, free: 14.73 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.2277, allocations: 4.062 kB / 1.2 GB, free: 14.73 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 3.857e-05/0.2278, allocations: 35.92 kB / 1.2 GB, free: 14.69 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.228, allocations: 33.31 kB / 1.2 GB, free: 14.66 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.2297, allocations: 2.419 MB / 1.202 GB, free: 12.03 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.51e-05/0.2297, allocations: 83.89 kB / 1.202 GB, free: 11.92 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.928e-05/0.2297, allocations: 4.438 kB / 1.202 GB, free: 11.92 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.2298, allocations: 27.42 kB / 1.202 GB, free: 11.89 MB / 0.8387 GB Notification: Performance of SimCode: time 5.51e-07/0.2298, allocations: 0 / 1.202 GB, free: 11.89 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.2461, allocations: 4.698 MB / 1.207 GB, free: 7.383 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.7/6.947, allocations: 7.031 kB / 1.207 GB, free: 7.379 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Switch.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.274740623310208] Failed to read output from testmodel.py, exit status != 0: 7.0240420792251825 7.032837115 6.8075752000000005 Calling exit ...