Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.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.0008414/0.0008414, allocations: 101.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.0008629/0.0008629, allocations: 212 kB / 22.25 MB, free: 3.578 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.9681/0.9681, allocations: 230.6 MB / 256 MB, free: 9.594 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.0391/0.0391, allocations: 12.19 MB / 324.6 MB, free: 6.172 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.0006277/0.0006277, allocations: 35.94 kB / 384.1 MB, free: 10.59 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.721/1.721, allocations: 353.8 MB / 0.7787 GB, free: 4.508 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.Integers.Validation.Switch,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.Switch,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_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.001445/0.001445, allocations: 120.3 kB / 1.06 GB, free: 24.69 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2407, allocations: 134.9 MB / 1.192 GB, free: 7.418 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Switch): time 0.00204/0.2428, allocations: 0.7996 MB / 1.192 GB, free: 6.621 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.2443, allocations: 1.305 MB / 1.194 GB, free: 5.305 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.688e-05/0.2443, allocations: 4 kB / 1.194 GB, free: 5.301 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.017e-05/0.2444, allocations: 15.8 kB / 1.194 GB, free: 5.285 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.242e-05/0.2445, allocations: 27.78 kB / 1.194 GB, free: 5.258 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006668/0.2451, allocations: 312.4 kB / 1.194 GB, free: 4.961 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.2454, allocations: 303.4 kB / 1.194 GB, free: 4.664 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.2455, allocations: 33.47 kB / 1.194 GB, free: 4.625 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.2457, allocations: 111.8 kB / 1.195 GB, free: 4.516 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.2458, allocations: 103.6 kB / 1.195 GB, free: 4.414 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.2458, allocations: 24 kB / 1.195 GB, free: 4.391 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.781e-05/0.2459, allocations: 36 kB / 1.195 GB, free: 4.355 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.759e-05/0.246, allocations: 23.92 kB / 1.195 GB, free: 4.332 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.2461, allocations: 99.67 kB / 1.195 GB, free: 4.234 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003037/0.2464, allocations: 263.4 kB / 1.195 GB, free: 3.977 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2464, allocations: 0 / 1.195 GB, free: 3.977 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2464, allocations: 4 kB / 1.195 GB, free: 3.973 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.2464, allocations: 0 / 1.195 GB, free: 3.973 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005524/0.2469, allocations: 458.8 kB / 1.195 GB, free: 3.477 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.247, allocations: 11.97 kB / 1.195 GB, free: 3.465 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.05e-05/0.2471, allocations: 50.73 kB / 1.196 GB, free: 3.406 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.2471, allocations: 20.84 kB / 1.196 GB, free: 3.387 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.286e-05/0.2472, allocations: 130.9 kB / 1.196 GB, free: 3.234 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.2472, allocations: 15.94 kB / 1.196 GB, free: 3.219 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.2473, allocations: 16 kB / 1.196 GB, free: 3.203 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.2474, allocations: 91.55 kB / 1.196 GB, free: 3.109 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.2474, allocations: 0 / 1.196 GB, free: 3.109 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.2474, allocations: 7.984 kB / 1.196 GB, free: 3.102 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2474, allocations: 0 / 1.196 GB, free: 3.102 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.755e-05/0.2475, allocations: 47.98 kB / 1.196 GB, free: 3.055 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005117/0.248, allocations: 415.5 kB / 1.196 GB, free: 2.605 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.2482, allocations: 70.55 kB / 1.196 GB, free: 2.527 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.757e-05/0.2482, allocations: 24.92 kB / 1.196 GB, free: 2.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.2482, allocations: 0 / 1.196 GB, free: 2.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002656/0.2485, allocations: 119.4 kB / 1.196 GB, free: 2.371 MB / 0.823 GB Notification: Performance of pre-optimization done (n=14): time 2.224e-06/0.2485, allocations: 3.984 kB / 1.196 GB, free: 2.367 MB / 0.823 GB Notification: Performance of matching and sorting (n=14): time 0.0002718/0.2488, allocations: 172.9 kB / 1.197 GB, free: 2.195 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.2488, allocations: 59.41 kB / 1.197 GB, free: 2.125 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.677e-05/0.2489, allocations: 169.8 kB / 1.197 GB, free: 1.953 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.2489, allocations: 37.7 kB / 1.197 GB, free: 1.91 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.249, allocations: 112 kB / 1.197 GB, free: 1.797 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.249, allocations: 27.8 kB / 1.197 GB, free: 1.77 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.931e-05/0.2491, allocations: 73.67 kB / 1.197 GB, free: 1.691 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.551e-05/0.2492, allocations: 326.8 kB / 1.197 GB, free: 1.363 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.2493, allocations: 189 kB / 1.198 GB, free: 1.16 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.2495, allocations: 234.3 kB / 1.198 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.2498, allocations: 260.8 kB / 1.198 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2498, allocations: 4 kB / 1.198 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000434/0.2502, allocations: 495.5 kB / 1.199 GB, free: 72 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.478e-05/0.2503, allocations: 102.3 kB / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.2503, allocations: 3.984 kB / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.2503, allocations: 4 kB / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.947e-05/0.2504, allocations: 12.12 kB / 1.199 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2504, allocations: 8 kB / 1.199 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.2506, allocations: 79.8 kB / 1.199 GB, free: 15.85 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.2507, allocations: 19.98 kB / 1.199 GB, free: 15.83 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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 9.116e-05/0.2507, allocations: 137.8 kB / 1.199 GB, free: 15.68 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.2508, allocations: 19.84 kB / 1.199 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.2508, allocations: 16.78 kB / 1.199 GB, free: 15.65 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2508, allocations: 0 / 1.199 GB, free: 15.65 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2508, allocations: 0 / 1.199 GB, free: 15.65 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.2508, allocations: 7.875 kB / 1.199 GB, free: 15.64 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.2509, allocations: 180.6 kB / 1.199 GB, free: 15.42 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.2509, allocations: 3.938 kB / 1.199 GB, free: 15.42 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.951e-05/0.251, allocations: 12 kB / 1.199 GB, free: 15.41 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.251, allocations: 4 kB / 1.199 GB, free: 15.4 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.251, allocations: 0 / 1.199 GB, free: 15.4 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.251, allocations: 4 kB / 1.199 GB, free: 15.4 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.251, allocations: 0 / 1.199 GB, free: 15.4 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.2511, allocations: 168.9 kB / 1.199 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.2512, allocations: 19.88 kB / 1.199 GB, free: 15.2 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.2512, allocations: 0 / 1.199 GB, free: 15.2 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.073e-05/0.2512, allocations: 4 kB / 1.199 GB, free: 15.19 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.2512, allocations: 11.98 kB / 1.199 GB, free: 15.18 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.2512, allocations: 7.984 kB / 1.199 GB, free: 15.17 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 5.608e-05/0.2513, allocations: 116.3 kB / 1.199 GB, free: 15.06 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2513, allocations: 0 / 1.199 GB, free: 15.06 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001857/0.2515, allocations: 55.94 kB / 1.199 GB, free: 15 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0004219/0.2519, allocations: 0.7066 MB / 1.2 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0003885/0.2523, allocations: 439.1 kB / 1.201 GB, free: 13.79 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2523, allocations: 0 / 1.201 GB, free: 13.79 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 5.374e-05/0.2523, allocations: 43.92 kB / 1.201 GB, free: 13.74 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.2526, allocations: 28.69 kB / 1.201 GB, free: 13.71 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.2547, allocations: 2.619 MB / 1.203 GB, free: 10.89 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.231e-05/0.2548, allocations: 90.72 kB / 1.203 GB, free: 10.78 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 4.294e-05/0.2548, allocations: 12.64 kB / 1.203 GB, free: 10.77 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.255e-05/0.2549, allocations: 43.42 kB / 1.203 GB, free: 10.72 MB / 0.8387 GB Notification: Performance of SimCode: time 1.072e-06/0.2549, allocations: 0 / 1.203 GB, free: 10.72 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/0.2754, allocations: 5.107 MB / 1.208 GB, free: 5.797 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.454/6.729, allocations: 0 / 1.208 GB, free: 5.797 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Switch.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.207532119937241] Failed to read output from testmodel.py, exit status != 0: 6.809122703969479 6.820055301 6.571424222 Calling exit ...