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.0008275/0.0008275, 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.0009313/0.0009313, allocations: 217.7 kB / 22.26 MB, free: 3.699 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.962/0.962, allocations: 230.6 MB / 256 MB, free: 9.785 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.03712/0.03712, allocations: 12.17 MB / 324.6 MB, free: 6.27 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.0003946/0.0003946, allocations: 31.94 kB / 384.1 MB, free: 10.68 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.669/1.669, allocations: 353.8 MB / 0.7787 GB, free: 3.059 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.001422/0.001422, allocations: 131.4 kB / 1.06 GB, free: 24.98 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2209, allocations: 134.9 MB / 1.192 GB, free: 7.84 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001617/0.2225, allocations: 0.6973 MB / 1.192 GB, free: 7.145 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.2238, allocations: 1.317 MB / 1.194 GB, free: 5.816 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.2239, allocations: 4 kB / 1.194 GB, free: 5.812 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.2239, allocations: 3.938 kB / 1.194 GB, free: 5.809 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.907e-05/0.224, allocations: 19.78 kB / 1.194 GB, free: 5.789 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007962/0.2248, allocations: 308.6 kB / 1.194 GB, free: 5.496 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.2251, allocations: 259.5 kB / 1.194 GB, free: 5.242 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.2252, allocations: 16.19 kB / 1.194 GB, free: 5.223 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.955e-05/0.2253, allocations: 99.86 kB / 1.194 GB, free: 5.125 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.2254, allocations: 99.67 kB / 1.195 GB, free: 5.027 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.2255, allocations: 20 kB / 1.195 GB, free: 5.008 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.566e-05/0.2255, allocations: 43.92 kB / 1.195 GB, free: 4.965 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.119e-05/0.2256, allocations: 15.92 kB / 1.195 GB, free: 4.949 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.333e-05/0.2256, allocations: 79.81 kB / 1.195 GB, free: 4.871 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.2258, allocations: 223.6 kB / 1.195 GB, free: 4.652 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2258, allocations: 0 / 1.195 GB, free: 4.652 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2258, allocations: 0 / 1.195 GB, free: 4.652 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.2258, allocations: 0 / 1.195 GB, free: 4.652 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.0008405/0.2267, allocations: 427.1 kB / 1.195 GB, free: 4.188 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.2267, allocations: 8.031 kB / 1.195 GB, free: 4.18 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.482e-05/0.2268, allocations: 34.75 kB / 1.195 GB, free: 4.137 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.2268, allocations: 12.89 kB / 1.195 GB, free: 4.125 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.116e-05/0.2269, allocations: 114.4 kB / 1.195 GB, free: 3.988 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.2269, allocations: 20.3 kB / 1.195 GB, free: 3.969 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.2269, allocations: 16.38 kB / 1.195 GB, free: 3.953 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.227, allocations: 61.98 kB / 1.196 GB, free: 3.887 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.227, allocations: 0 / 1.196 GB, free: 3.887 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.227, allocations: 0 / 1.196 GB, free: 3.887 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2271, allocations: 0 / 1.196 GB, free: 3.887 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.01e-05/0.2271, allocations: 23.98 kB / 1.196 GB, free: 3.863 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.2275, allocations: 387.5 kB / 1.196 GB, free: 3.441 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.917e-05/0.2276, allocations: 38.5 kB / 1.196 GB, free: 3.395 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.58e-05/0.2276, allocations: 20.94 kB / 1.196 GB, free: 3.371 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.2276, allocations: 0 / 1.196 GB, free: 3.371 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.2277, allocations: 95.3 kB / 1.196 GB, free: 3.266 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.2277, allocations: 0 / 1.196 GB, free: 3.266 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.0002691/0.228, allocations: 145.5 kB / 1.196 GB, free: 3.117 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.228, allocations: 55.39 kB / 1.196 GB, free: 3.051 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.589e-05/0.2281, allocations: 139.6 kB / 1.196 GB, free: 2.906 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.2281, allocations: 33.7 kB / 1.196 GB, free: 2.867 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.737e-05/0.2282, allocations: 96.09 kB / 1.197 GB, free: 2.77 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.2282, allocations: 23.95 kB / 1.197 GB, free: 2.746 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.921e-05/0.2283, allocations: 69.67 kB / 1.197 GB, free: 2.672 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.149e-05/0.2283, allocations: 318.8 kB / 1.197 GB, free: 2.352 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.2285, allocations: 91.94 kB / 1.197 GB, free: 2.262 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.2286, allocations: 136 kB / 1.197 GB, free: 2.109 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.2288, allocations: 241.2 kB / 1.197 GB, free: 1.836 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2288, allocations: 0 / 1.197 GB, free: 1.836 MB / 0.823 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003992/0.2292, allocations: 382.5 kB / 1.198 GB, free: 1.438 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.426e-05/0.2293, allocations: 97.09 kB / 1.198 GB, free: 1.324 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2293, allocations: 4 kB / 1.198 GB, free: 1.32 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.2293, allocations: 0 / 1.198 GB, free: 1.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.69e-05/0.2293, allocations: 12.06 kB / 1.198 GB, free: 1.309 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.2293, allocations: 8 kB / 1.198 GB, free: 1.301 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.2296, allocations: 83.83 kB / 1.198 GB, free: 1.219 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.2296, allocations: 15.98 kB / 1.198 GB, free: 1.203 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 9.326e-05/0.2297, allocations: 135.9 kB / 1.198 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.228e-06/0.2297, allocations: 7.953 kB / 1.198 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.113e-05/0.2297, allocations: 8.375 kB / 1.198 GB, free: 1.043 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2297, allocations: 4 kB / 1.198 GB, free: 1.039 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.2297, allocations: 4 kB / 1.198 GB, free: 1.035 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2297, allocations: 3.984 kB / 1.198 GB, free: 1.031 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.244e-05/0.2298, allocations: 168.5 kB / 1.198 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.2298, allocations: 0 / 1.198 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-06/0.2298, allocations: 4 kB / 1.198 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2298, allocations: 3.984 kB / 1.198 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.2298, allocations: 11.98 kB / 1.198 GB, free: 0.8047 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.2298, allocations: 0 / 1.198 GB, free: 0.8047 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2298, allocations: 4 kB / 1.198 GB, free: 0.8008 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.23, allocations: 133.3 kB / 1.198 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-06/0.23, allocations: 11.98 kB / 1.198 GB, free: 0.6406 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.23, allocations: 7.922 kB / 1.198 GB, free: 0.6328 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.531e-05/0.23, allocations: 8 kB / 1.198 GB, free: 0.625 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.23, allocations: 3.984 kB / 1.198 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.23, allocations: 12 kB / 1.198 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.052e-05/0.2301, allocations: 96.81 kB / 1.199 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2301, allocations: 0 / 1.199 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001913/0.2303, allocations: 44 kB / 1.199 GB, free: 484 kB / 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: 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.0004284/0.2307, allocations: 0.6787 MB / 1.199 GB, free: 15.77 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0003253/0.231, allocations: 330 kB / 1.2 GB, free: 15.41 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.231, allocations: 0 / 1.2 GB, free: 15.41 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 5.49e-05/0.2311, allocations: 31.94 kB / 1.2 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.2313, allocations: 21.69 kB / 1.2 GB, free: 15.36 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.2332, allocations: 2.07 MB / 1.202 GB, free: 13.15 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/0.2337, allocations: 0.6924 MB / 1.202 GB, free: 12.43 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.274e-05/0.2338, allocations: 16.36 kB / 1.202 GB, free: 12.41 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.2338, allocations: 23.44 kB / 1.202 GB, free: 12.39 MB / 0.8387 GB Notification: Performance of SimCode: time 5.71e-07/0.2338, allocations: 0 / 1.202 GB, free: 12.39 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.2507, allocations: 3.977 MB / 1.206 GB, free: 8.57 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.369/6.619, allocations: 10.16 kB / 1.206 GB, free: 8.562 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: 10.984827535226941] Failed to read output from testmodel.py, exit status != 0: 6.693492881953716 6.703543142 6.475912052 Calling exit ...