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.0008767/0.0008767, 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.0008204/0.0008204, allocations: 221.7 kB / 22.26 MB, free: 3.691 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.9618/0.9618, allocations: 230.6 MB / 256 MB, free: 9.805 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.0387/0.0387, allocations: 12.18 MB / 324.6 MB, free: 6.359 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.0004548/0.0004548, allocations: 23.95 kB / 384.1 MB, free: 10.77 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.743/1.743, allocations: 353.8 MB / 0.7787 GB, free: 3.191 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.001741/0.001741, allocations: 128 kB / 1.06 GB, free: 24.97 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.224, allocations: 134.9 MB / 1.192 GB, free: 7.871 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001567/0.2256, allocations: 0.8366 MB / 1.193 GB, free: 7.035 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.2272, allocations: 1.328 MB / 1.194 GB, free: 5.695 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.864e-05/0.2273, allocations: 0 / 1.194 GB, free: 5.695 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.382e-05/0.2273, allocations: 7.875 kB / 1.194 GB, free: 5.688 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.607e-05/0.2274, allocations: 31.78 kB / 1.194 GB, free: 5.656 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006066/0.228, allocations: 319.1 kB / 1.194 GB, free: 5.355 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.2282, allocations: 299.5 kB / 1.195 GB, free: 5.062 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.2284, allocations: 37.47 kB / 1.195 GB, free: 5.02 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.2285, allocations: 115.7 kB / 1.195 GB, free: 4.906 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.2286, allocations: 115.7 kB / 1.195 GB, free: 4.793 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.2286, allocations: 28 kB / 1.195 GB, free: 4.766 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.269e-05/0.2287, allocations: 39.98 kB / 1.195 GB, free: 4.727 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.2287, allocations: 27.86 kB / 1.195 GB, free: 4.699 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.693e-05/0.2288, allocations: 103.6 kB / 1.195 GB, free: 4.598 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.2291, allocations: 271.4 kB / 1.195 GB, free: 4.332 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2291, allocations: 0 / 1.195 GB, free: 4.332 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2291, allocations: 0 / 1.195 GB, free: 4.332 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.2291, allocations: 0 / 1.195 GB, free: 4.332 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.0005078/0.2296, allocations: 458.8 kB / 1.196 GB, free: 3.836 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2296, allocations: 16.03 kB / 1.196 GB, free: 3.82 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.105e-05/0.2297, allocations: 38.73 kB / 1.196 GB, free: 3.773 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.22e-05/0.2297, allocations: 24.84 kB / 1.196 GB, free: 3.75 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.329e-05/0.2298, allocations: 124.3 kB / 1.196 GB, free: 3.605 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.2298, allocations: 15.94 kB / 1.196 GB, free: 3.59 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.2299, allocations: 23.98 kB / 1.196 GB, free: 3.566 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.23, allocations: 89.59 kB / 1.196 GB, free: 3.473 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.23, allocations: 0 / 1.196 GB, free: 3.473 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.23, allocations: 4 kB / 1.196 GB, free: 3.469 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.23, allocations: 4 kB / 1.196 GB, free: 3.465 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.403e-05/0.2301, allocations: 47.97 kB / 1.196 GB, free: 3.418 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.2306, allocations: 467.3 kB / 1.196 GB, free: 2.918 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.2308, allocations: 66.62 kB / 1.197 GB, free: 2.844 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.587e-05/0.2308, allocations: 24.91 kB / 1.197 GB, free: 2.816 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.719e-06/0.2308, allocations: 4 kB / 1.197 GB, free: 2.812 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.231, allocations: 119.3 kB / 1.197 GB, free: 2.684 MB / 0.823 GB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.231, allocations: 0 / 1.197 GB, free: 2.684 MB / 0.823 GB Notification: Performance of matching and sorting (n=14): time 0.0002533/0.2313, allocations: 165.6 kB / 1.197 GB, free: 2.516 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.2313, allocations: 63.34 kB / 1.197 GB, free: 2.441 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.66e-05/0.2314, allocations: 169.4 kB / 1.197 GB, free: 2.27 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.2314, allocations: 37.64 kB / 1.197 GB, free: 2.227 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.953e-05/0.2315, allocations: 112.1 kB / 1.197 GB, free: 2.113 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.2315, allocations: 31.78 kB / 1.197 GB, free: 2.082 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.758e-05/0.2316, allocations: 73.67 kB / 1.197 GB, free: 2.004 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.648e-05/0.2317, allocations: 322.8 kB / 1.198 GB, free: 1.68 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.2318, allocations: 99.94 kB / 1.198 GB, free: 1.582 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.2319, allocations: 138 kB / 1.198 GB, free: 1.426 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.2321, allocations: 256.6 kB / 1.198 GB, free: 1.137 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2321, allocations: 0 / 1.198 GB, free: 1.137 MB / 0.823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004031/0.2325, allocations: 412.1 kB / 1.198 GB, free: 0.7109 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.23e-05/0.2326, allocations: 97.09 kB / 1.199 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2326, allocations: 3.984 kB / 1.199 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2326, allocations: 4 kB / 1.199 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.488e-05/0.2327, allocations: 15.94 kB / 1.199 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2327, allocations: 4 kB / 1.199 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.2329, allocations: 87.92 kB / 1.199 GB, free: 496 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.2329, allocations: 19.98 kB / 1.199 GB, free: 476 kB / 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: 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 8.502e-05/0.233, allocations: 134.4 kB / 1.199 GB, free: 332 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.233, allocations: 19.84 kB / 1.199 GB, free: 312 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.2331, allocations: 16.78 kB / 1.199 GB, free: 296 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2331, allocations: 15.92 kB / 1.199 GB, free: 280 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2331, allocations: 0 / 1.199 GB, free: 280 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2331, allocations: 0 / 1.199 GB, free: 280 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.2332, allocations: 188.6 kB / 1.199 GB, free: 48 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2332, allocations: 11.88 kB / 1.199 GB, free: 36 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.479e-05/0.2332, allocations: 8 kB / 1.199 GB, free: 28 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2332, allocations: 0 / 1.199 GB, free: 28 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.2332, allocations: 7.984 kB / 1.199 GB, free: 20 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2332, allocations: 0 / 1.199 GB, free: 20 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2332, allocations: 4 kB / 1.199 GB, free: 16 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.2334, allocations: 168 kB / 1.199 GB, free: 15.84 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.523e-05/0.2334, allocations: 11.89 kB / 1.199 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.2334, allocations: 0 / 1.199 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.926e-05/0.2334, allocations: 4 kB / 1.199 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.2335, allocations: 11.92 kB / 1.199 GB, free: 15.81 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.2335, allocations: 11.98 kB / 1.199 GB, free: 15.8 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 5.249e-05/0.2335, allocations: 111.9 kB / 1.199 GB, free: 15.69 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2335, allocations: 0 / 1.199 GB, free: 15.69 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001723/0.2337, allocations: 59.95 kB / 1.199 GB, free: 15.63 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.0003648/0.2341, allocations: 0.6958 MB / 1.2 GB, free: 14.91 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0005452/0.2346, allocations: 354.3 kB / 1.2 GB, free: 14.52 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2346, allocations: 4.062 kB / 1.2 GB, free: 14.52 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 4.903e-05/0.2347, allocations: 43.92 kB / 1.2 GB, free: 14.48 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.2349, allocations: 23.98 kB / 1.201 GB, free: 14.45 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.2366, allocations: 2.252 MB / 1.203 GB, free: 12.07 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.2368, allocations: 0.7084 MB / 1.203 GB, free: 11.34 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 4.093e-05/0.2368, allocations: 12.64 kB / 1.203 GB, free: 11.32 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.2369, allocations: 43.36 kB / 1.203 GB, free: 11.28 MB / 0.8387 GB Notification: Performance of SimCode: time 6.01e-07/0.2369, allocations: 0 / 1.203 GB, free: 11.28 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.2579, allocations: 4.394 MB / 1.208 GB, free: 7.039 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.822/7.08, allocations: 11.17 kB / 1.208 GB, free: 7.031 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 & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.642773809842765] Failed to read output from testmodel.py, exit status != 0: 7.160570089705288 7.169355827 6.938522757 Calling exit ...