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.0008413/0.0008413, 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.0008238/0.0008238, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9702/0.9702, allocations: 230.6 MB / 256 MB, free: 9.801 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.03747/0.03747, allocations: 12.18 MB / 324.6 MB, free: 6.281 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.0004886/0.0004886, allocations: 27.95 kB / 384.1 MB, free: 10.69 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.666/1.666, allocations: 353.8 MB / 0.7787 GB, free: 3.086 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.0016/0.0016, allocations: 121 kB / 1.06 GB, free: 25.01 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2209, allocations: 134.9 MB / 1.192 GB, free: 7.836 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Switch): time 0.00156/0.2225, allocations: 0.7827 MB / 1.193 GB, free: 7.055 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.224, allocations: 1.203 MB / 1.194 GB, free: 5.84 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.772e-05/0.2241, allocations: 0 / 1.194 GB, free: 5.84 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.731e-05/0.2242, allocations: 3.938 kB / 1.194 GB, free: 5.836 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.178e-05/0.2243, allocations: 15.8 kB / 1.194 GB, free: 5.82 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.2247, allocations: 147 kB / 1.194 GB, free: 5.68 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.2248, allocations: 119.8 kB / 1.194 GB, free: 5.562 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.705e-05/0.2249, allocations: 19.98 kB / 1.194 GB, free: 5.543 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.021e-05/0.225, allocations: 47.89 kB / 1.194 GB, free: 5.496 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.2251, allocations: 51.83 kB / 1.194 GB, free: 5.445 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.2251, allocations: 8 kB / 1.194 GB, free: 5.438 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.682e-05/0.2252, allocations: 27.98 kB / 1.194 GB, free: 5.41 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.031e-05/0.2252, allocations: 15.92 kB / 1.194 GB, free: 5.395 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.623e-05/0.2253, allocations: 47.83 kB / 1.194 GB, free: 5.348 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.2254, allocations: 115.9 kB / 1.194 GB, free: 5.234 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2255, allocations: 8 kB / 1.194 GB, free: 5.227 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2255, allocations: 0 / 1.194 GB, free: 5.227 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.2255, allocations: 0 / 1.194 GB, free: 5.227 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.00047/0.2259, allocations: 351.6 kB / 1.195 GB, free: 4.844 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.226, allocations: 12.03 kB / 1.195 GB, free: 4.832 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.873e-05/0.226, allocations: 34.75 kB / 1.195 GB, free: 4.789 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.226, allocations: 8.891 kB / 1.195 GB, free: 4.781 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.363e-05/0.2261, allocations: 120.7 kB / 1.195 GB, free: 4.641 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.2261, allocations: 4.375 kB / 1.195 GB, free: 4.637 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.2262, allocations: 8.375 kB / 1.195 GB, free: 4.629 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.2264, allocations: 82.19 kB / 1.195 GB, free: 4.543 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2264, allocations: 3.938 kB / 1.195 GB, free: 4.539 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.2264, allocations: 0 / 1.195 GB, free: 4.539 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.2264, allocations: 4 kB / 1.195 GB, free: 4.535 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.2266, allocations: 75.84 kB / 1.195 GB, free: 4.461 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.227, allocations: 307.7 kB / 1.195 GB, free: 4.117 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.2271, allocations: 50.55 kB / 1.195 GB, free: 4.059 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.746e-05/0.2271, allocations: 44.91 kB / 1.195 GB, free: 4.012 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.2272, allocations: 3.938 kB / 1.195 GB, free: 4.008 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.2274, allocations: 99.28 kB / 1.195 GB, free: 3.898 MB / 0.823 GB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.2274, allocations: 0 / 1.195 GB, free: 3.898 MB / 0.823 GB Notification: Performance of matching and sorting (n=6): time 0.000402/0.2278, allocations: 169.5 kB / 1.196 GB, free: 3.727 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.2278, allocations: 51.41 kB / 1.196 GB, free: 3.664 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.911e-05/0.2279, allocations: 122.1 kB / 1.196 GB, free: 3.531 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.2279, allocations: 33.64 kB / 1.196 GB, free: 3.492 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.2279, allocations: 92.14 kB / 1.196 GB, free: 3.398 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.2279, allocations: 11.86 kB / 1.196 GB, free: 3.387 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/0.228, allocations: 45.69 kB / 1.196 GB, free: 3.336 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.216e-05/0.2281, allocations: 322.8 kB / 1.196 GB, free: 3.012 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.2282, allocations: 63.95 kB / 1.196 GB, free: 2.949 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.2283, allocations: 86.5 kB / 1.196 GB, free: 2.855 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.2285, allocations: 136.3 kB / 1.197 GB, free: 2.707 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2285, allocations: 0 / 1.197 GB, free: 2.707 MB / 0.823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003376/0.2289, allocations: 223.1 kB / 1.197 GB, free: 2.477 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.2289, allocations: 37.7 kB / 1.197 GB, free: 2.434 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2289, allocations: 0 / 1.197 GB, free: 2.434 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.2289, allocations: 0 / 1.197 GB, free: 2.434 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.058e-05/0.229, allocations: 19.97 kB / 1.197 GB, free: 2.414 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.229, allocations: 0 / 1.197 GB, free: 2.414 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.2291, allocations: 47.91 kB / 1.197 GB, free: 2.367 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.2291, allocations: 4 kB / 1.197 GB, free: 2.363 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 6.949e-05/0.2292, allocations: 125.8 kB / 1.197 GB, free: 2.23 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-06/0.2292, allocations: 3.953 kB / 1.197 GB, free: 2.227 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.2292, allocations: 12.38 kB / 1.197 GB, free: 2.211 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2292, allocations: 0 / 1.197 GB, free: 2.211 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2292, allocations: 0 / 1.197 GB, free: 2.211 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2292, allocations: 0 / 1.197 GB, free: 2.211 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.669e-05/0.2293, allocations: 160.6 kB / 1.197 GB, free: 2.012 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2293, allocations: 4 kB / 1.197 GB, free: 2.008 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.2294, allocations: 15.92 kB / 1.197 GB, free: 1.992 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2294, allocations: 4 kB / 1.197 GB, free: 1.988 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.2294, allocations: 0 / 1.197 GB, free: 1.988 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2294, allocations: 0 / 1.197 GB, free: 1.988 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2294, allocations: 0 / 1.197 GB, free: 1.988 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.2296, allocations: 157.2 kB / 1.197 GB, free: 1.816 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-06/0.2296, allocations: 4 kB / 1.197 GB, free: 1.812 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.2296, allocations: 4.141 kB / 1.197 GB, free: 1.809 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.789e-05/0.2296, allocations: 23.92 kB / 1.197 GB, free: 1.785 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.2297, allocations: 3.984 kB / 1.197 GB, free: 1.781 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.892e-06/0.2297, allocations: 4 kB / 1.197 GB, free: 1.777 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.847e-05/0.2297, allocations: 101.8 kB / 1.197 GB, free: 1.68 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2297, allocations: 4 kB / 1.197 GB, free: 1.676 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001981/0.2299, allocations: 27.95 kB / 1.198 GB, free: 1.648 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.0004293/0.2303, allocations: 0.6826 MB / 1.198 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003122/0.2307, allocations: 179.2 kB / 1.198 GB, free: 0.75 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2307, allocations: 0 / 1.198 GB, free: 0.75 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.816e-05/0.2307, allocations: 47.95 kB / 1.198 GB, free: 0.7031 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.2309, allocations: 16.11 kB / 1.198 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.2325, allocations: 1.633 MB / 1.2 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.2327, allocations: 0.6885 MB / 1.201 GB, free: 14.24 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.139e-05/0.2328, allocations: 4 kB / 1.201 GB, free: 14.23 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.2328, allocations: 23.44 kB / 1.201 GB, free: 14.21 MB / 0.8387 GB Notification: Performance of SimCode: time 5.21e-07/0.2328, allocations: 4 kB / 1.201 GB, free: 14.21 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.2501, allocations: 2.808 MB / 1.203 GB, free: 11.54 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.497/6.747, allocations: 8.594 kB / 1.203 GB, free: 11.54 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.060046878643334] Failed to read output from testmodel.py, exit status != 0: 6.8235972207039595 6.833160119 6.605915785 Calling exit ...