Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.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.0007476/0.0007476, 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.0007821/0.0007821, allocations: 208.1 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.985/0.985, allocations: 230.6 MB / 256 MB, free: 9.605 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.03848/0.03848, allocations: 12.19 MB / 324.6 MB, free: 6.094 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.0004466/0.0004466, allocations: 23.97 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.673/1.673, allocations: 353.9 MB / 0.7787 GB, free: 4.559 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.Reals.Validation.Switch,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Switch,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_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.001406/0.001406, allocations: 127.5 kB / 1.06 GB, free: 24.7 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.213, allocations: 134.9 MB / 1.192 GB, free: 7.461 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001963/0.215, allocations: 0.7494 MB / 1.192 GB, free: 6.711 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.2162, allocations: 1.191 MB / 1.194 GB, free: 5.508 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.883e-05/0.2163, allocations: 0 / 1.194 GB, free: 5.508 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.376e-05/0.2163, allocations: 3.938 kB / 1.194 GB, free: 5.504 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.111e-05/0.2164, allocations: 15.86 kB / 1.194 GB, free: 5.488 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004457/0.2168, allocations: 139.7 kB / 1.194 GB, free: 5.355 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.217, allocations: 131.7 kB / 1.194 GB, free: 5.227 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.2171, allocations: 11.94 kB / 1.194 GB, free: 5.215 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.2172, allocations: 51.89 kB / 1.194 GB, free: 5.164 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.866e-05/0.2173, allocations: 47.81 kB / 1.194 GB, free: 5.117 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.2174, allocations: 12 kB / 1.194 GB, free: 5.105 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.014e-05/0.2174, allocations: 19.98 kB / 1.194 GB, free: 5.086 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.074e-05/0.2175, allocations: 15.98 kB / 1.194 GB, free: 5.07 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.959e-05/0.2175, allocations: 39.84 kB / 1.194 GB, free: 5.031 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.2177, allocations: 119.9 kB / 1.194 GB, free: 4.914 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.2177, allocations: 4 kB / 1.194 GB, free: 4.91 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.755e-06/0.2177, allocations: 3.938 kB / 1.194 GB, free: 4.906 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.2178, allocations: 0 / 1.194 GB, free: 4.906 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.0006486/0.2184, allocations: 353.2 kB / 1.195 GB, free: 4.523 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.2185, allocations: 8.031 kB / 1.195 GB, free: 4.516 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.314e-05/0.2185, allocations: 34.73 kB / 1.195 GB, free: 4.473 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.2185, allocations: 12.89 kB / 1.195 GB, free: 4.461 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.242e-05/0.2186, allocations: 118.4 kB / 1.195 GB, free: 4.32 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.2186, allocations: 8.375 kB / 1.195 GB, free: 4.312 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.2187, allocations: 8.375 kB / 1.195 GB, free: 4.305 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.2189, allocations: 78.2 kB / 1.195 GB, free: 4.223 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.2189, allocations: 3.938 kB / 1.195 GB, free: 4.219 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.2189, allocations: 0 / 1.195 GB, free: 4.219 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.2189, allocations: 0 / 1.195 GB, free: 4.219 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.2191, allocations: 75.91 kB / 1.195 GB, free: 4.145 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.2194, allocations: 287.7 kB / 1.195 GB, free: 3.82 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.2196, allocations: 50.55 kB / 1.195 GB, free: 3.762 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.008e-05/0.2196, allocations: 40.91 kB / 1.195 GB, free: 3.719 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.2197, allocations: 4 kB / 1.195 GB, free: 3.715 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.2199, allocations: 103.3 kB / 1.195 GB, free: 3.602 MB / 0.823 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.2199, allocations: 3.938 kB / 1.195 GB, free: 3.598 MB / 0.823 GB Notification: Performance of matching and sorting (n=6): time 0.0003581/0.2203, allocations: 161.7 kB / 1.195 GB, free: 3.434 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.2203, allocations: 51.41 kB / 1.196 GB, free: 3.371 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.747e-05/0.2204, allocations: 124.2 kB / 1.196 GB, free: 3.238 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.2204, allocations: 29.7 kB / 1.196 GB, free: 3.203 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.56e-05/0.2204, allocations: 96.14 kB / 1.196 GB, free: 3.105 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.2204, allocations: 23.91 kB / 1.196 GB, free: 3.082 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.2205, allocations: 37.7 kB / 1.196 GB, free: 3.039 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.583e-05/0.2206, allocations: 322.8 kB / 1.196 GB, free: 2.715 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.2207, allocations: 89.66 kB / 1.196 GB, free: 2.621 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.2209, allocations: 116.2 kB / 1.196 GB, free: 2.492 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.2211, allocations: 140.2 kB / 1.196 GB, free: 2.34 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2211, allocations: 0 / 1.196 GB, free: 2.34 MB / 0.823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000311/0.2214, allocations: 240.9 kB / 1.197 GB, free: 2.086 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.2214, allocations: 41.77 kB / 1.197 GB, free: 2.039 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2214, allocations: 3.984 kB / 1.197 GB, free: 2.035 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.2214, allocations: 4 kB / 1.197 GB, free: 2.031 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.2215, allocations: 15.92 kB / 1.197 GB, free: 2.016 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.2215, allocations: 4 kB / 1.197 GB, free: 2.012 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.2217, allocations: 39.94 kB / 1.197 GB, free: 1.973 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.2217, allocations: 15.92 kB / 1.197 GB, free: 1.957 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.943e-05/0.2218, allocations: 121.8 kB / 1.197 GB, free: 1.828 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.2218, allocations: 7.953 kB / 1.197 GB, free: 1.82 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.2218, allocations: 8.375 kB / 1.197 GB, free: 1.809 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2218, allocations: 4 kB / 1.197 GB, free: 1.805 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2218, allocations: 0 / 1.197 GB, free: 1.805 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.2218, allocations: 0 / 1.197 GB, free: 1.805 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.298e-05/0.2219, allocations: 148.7 kB / 1.197 GB, free: 1.617 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2219, allocations: 0 / 1.197 GB, free: 1.617 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.962e-05/0.222, allocations: 19.97 kB / 1.197 GB, free: 1.598 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.222, allocations: 4 kB / 1.197 GB, free: 1.594 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.222, allocations: 0 / 1.197 GB, free: 1.594 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.222, allocations: 0 / 1.197 GB, free: 1.594 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.222, allocations: 7.938 kB / 1.197 GB, free: 1.586 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.2222, allocations: 152.9 kB / 1.197 GB, free: 1.418 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-06/0.2222, allocations: 0 / 1.197 GB, free: 1.418 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.2222, allocations: 7.938 kB / 1.197 GB, free: 1.41 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.833e-05/0.2223, allocations: 11.98 kB / 1.197 GB, free: 1.398 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.2223, allocations: 7.984 kB / 1.197 GB, free: 1.391 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.2223, allocations: 8.125 kB / 1.197 GB, free: 1.383 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.748e-05/0.2223, allocations: 95.27 kB / 1.197 GB, free: 1.289 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.2223, allocations: 0 / 1.197 GB, free: 1.289 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001504/0.2225, allocations: 23.95 kB / 1.197 GB, free: 1.266 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004703/0.223, allocations: 0.6982 MB / 1.198 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003052/0.2233, allocations: 204.9 kB / 1.198 GB, free: 328 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2233, allocations: 0 / 1.198 GB, free: 328 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.389e-05/0.2234, allocations: 47.95 kB / 1.198 GB, free: 280 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.2235, allocations: 20.17 kB / 1.198 GB, free: 260 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.2251, allocations: 1.758 MB / 1.2 GB, free: 14.37 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.154e-05/0.2252, allocations: 75.33 kB / 1.2 GB, free: 14.28 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.493e-05/0.2252, allocations: 4 kB / 1.2 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.2253, allocations: 23.42 kB / 1.2 GB, free: 14.25 MB / 0.8387 GB Notification: Performance of SimCode: time 9.12e-07/0.2253, allocations: 0 / 1.2 GB, free: 14.25 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01547/0.2407, allocations: 3.367 MB / 1.203 GB, free: 11.04 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.563/6.804, allocations: 5.75 kB / 1.203 GB, free: 11.04 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Switch.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.174012176692486] Failed to read output from testmodel.py, exit status != 0: 6.8832090413197875 6.895278429 6.675593587 Calling exit ...