Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.0008728/0.0008728, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0009784/0.0009784, allocations: 209.2 kB / 22.24 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.9542/0.9542, allocations: 230.6 MB / 256 MB, free: 9.578 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.03795/0.03795, allocations: 12.19 MB / 324.6 MB, free: 6.055 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.0004283/0.0004283, allocations: 27.95 kB / 384.1 MB, free: 10.48 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.747/1.747, allocations: 353.8 MB / 0.7787 GB, free: 4.555 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.Hysteresis,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Hysteresis",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.001476/0.001476, allocations: 124.7 kB / 1.06 GB, free: 24.55 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2405, allocations: 134.9 MB / 1.192 GB, free: 7.328 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001719/0.2423, allocations: 0.7998 MB / 1.193 GB, free: 6.527 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.000968/0.2432, allocations: 0.9249 MB / 1.193 GB, free: 5.59 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.697e-05/0.2433, allocations: 0 / 1.193 GB, free: 5.59 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.078e-05/0.2433, allocations: 7.875 kB / 1.193 GB, free: 5.582 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.426e-05/0.2434, allocations: 15.81 kB / 1.193 GB, free: 5.566 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.2436, allocations: 51.86 kB / 1.193 GB, free: 5.516 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.2438, allocations: 107.7 kB / 1.194 GB, free: 5.41 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.2439, allocations: 25.03 kB / 1.194 GB, free: 5.383 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.2441, allocations: 63.78 kB / 1.194 GB, free: 5.32 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.431e-05/0.2441, allocations: 51.75 kB / 1.194 GB, free: 5.27 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.2442, allocations: 8 kB / 1.194 GB, free: 5.262 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.157e-05/0.2442, allocations: 12 kB / 1.194 GB, free: 5.25 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.2442, allocations: 27.91 kB / 1.194 GB, free: 5.223 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.2443, allocations: 47.72 kB / 1.194 GB, free: 5.176 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003308/0.2446, allocations: 123.7 kB / 1.194 GB, free: 5.055 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2446, allocations: 0 / 1.194 GB, free: 5.055 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2446, allocations: 0 / 1.194 GB, free: 5.055 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.2446, allocations: 0 / 1.194 GB, free: 5.055 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005143/0.2451, allocations: 377.7 kB / 1.194 GB, free: 4.652 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.2452, allocations: 8.031 kB / 1.194 GB, free: 4.645 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/0.2452, allocations: 34.75 kB / 1.194 GB, free: 4.602 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.2454, allocations: 36.81 kB / 1.194 GB, free: 4.566 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.2457, allocations: 197.7 kB / 1.195 GB, free: 4.352 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.2457, allocations: 4.375 kB / 1.195 GB, free: 4.348 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.2457, allocations: 8.375 kB / 1.195 GB, free: 4.34 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.2459, allocations: 120.5 kB / 1.195 GB, free: 4.207 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2459, allocations: 3.938 kB / 1.195 GB, free: 4.203 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.2459, allocations: 0 / 1.195 GB, free: 4.203 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2459, allocations: 4 kB / 1.195 GB, free: 4.199 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.2461, allocations: 75.92 kB / 1.195 GB, free: 4.125 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.2465, allocations: 460.2 kB / 1.195 GB, free: 3.625 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.2467, allocations: 117.2 kB / 1.195 GB, free: 3.484 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.252e-05/0.2468, allocations: 54.61 kB / 1.195 GB, free: 3.422 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.2468, allocations: 4 kB / 1.195 GB, free: 3.418 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.2468, allocations: 34.58 kB / 1.195 GB, free: 3.375 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.2468, allocations: 0 / 1.195 GB, free: 3.375 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0003556/0.2472, allocations: 161.5 kB / 1.196 GB, free: 3.211 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.2472, allocations: 107.1 kB / 1.196 GB, free: 3.082 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.256e-05/0.2473, allocations: 150.2 kB / 1.196 GB, free: 2.926 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.2473, allocations: 33.64 kB / 1.196 GB, free: 2.887 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.2474, allocations: 112.3 kB / 1.196 GB, free: 2.77 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.2474, allocations: 23.78 kB / 1.196 GB, free: 2.746 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.2475, allocations: 29.72 kB / 1.196 GB, free: 2.711 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.827e-05/0.2475, allocations: 322.8 kB / 1.196 GB, free: 2.387 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.634e-05/0.2476, allocations: 39.97 kB / 1.196 GB, free: 2.348 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.2477, allocations: 170.2 kB / 1.196 GB, free: 2.145 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.2479, allocations: 90.5 kB / 1.197 GB, free: 2.047 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2479, allocations: 0 / 1.197 GB, free: 2.047 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001972/0.2481, allocations: 141.5 kB / 1.197 GB, free: 1.902 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.2481, allocations: 4 kB / 1.197 GB, free: 1.898 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2481, allocations: 7.984 kB / 1.197 GB, free: 1.891 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2481, allocations: 4 kB / 1.197 GB, free: 1.887 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.691e-05/0.2482, allocations: 19.92 kB / 1.197 GB, free: 1.867 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.2482, allocations: 3.984 kB / 1.197 GB, free: 1.863 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.975e-05/0.2483, allocations: 19.98 kB / 1.197 GB, free: 1.844 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.2483, allocations: 7.938 kB / 1.197 GB, free: 1.836 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: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.231e-05/0.2484, allocations: 121.1 kB / 1.197 GB, free: 1.711 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.2484, allocations: 19.91 kB / 1.197 GB, free: 1.691 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.2486, allocations: 89.92 kB / 1.197 GB, free: 1.594 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.2486, allocations: 4.375 kB / 1.197 GB, free: 1.59 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2486, allocations: 0 / 1.197 GB, free: 1.59 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.2486, allocations: 3.984 kB / 1.197 GB, free: 1.586 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.2488, allocations: 160.7 kB / 1.197 GB, free: 1.387 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2488, allocations: 3.984 kB / 1.197 GB, free: 1.383 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.29e-05/0.2488, allocations: 23.97 kB / 1.197 GB, free: 1.359 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2488, allocations: 4 kB / 1.197 GB, free: 1.355 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.2488, allocations: 0 / 1.197 GB, free: 1.355 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2488, allocations: 4 kB / 1.197 GB, free: 1.352 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.2488, allocations: 3.938 kB / 1.197 GB, free: 1.348 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.2491, allocations: 377.8 kB / 1.198 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.461e-05/0.2491, allocations: 15.88 kB / 1.198 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.2491, allocations: 4.062 kB / 1.198 GB, free: 0.9414 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.2492, allocations: 19.98 kB / 1.198 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.2493, allocations: 23.95 kB / 1.198 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.2493, allocations: 7.938 kB / 1.198 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.2e-05/0.2493, allocations: 118.4 kB / 1.198 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2493, allocations: 0 / 1.198 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000208/0.2495, allocations: 16 kB / 1.198 GB, free: 0.7617 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004753/0.25, allocations: 0.9023 MB / 1.199 GB, free: 15.83 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.2502, allocations: 95.86 kB / 1.199 GB, free: 15.74 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2502, allocations: 0 / 1.199 GB, free: 15.74 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 8.548e-05/0.2503, allocations: 47.89 kB / 1.199 GB, free: 15.69 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.2507, allocations: 24.06 kB / 1.199 GB, free: 15.67 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.2521, allocations: 1.797 MB / 1.201 GB, free: 13.77 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.509e-05/0.2522, allocations: 92.19 kB / 1.201 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 5.972e-05/0.2522, allocations: 16.64 kB / 1.201 GB, free: 13.64 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.2523, allocations: 35.42 kB / 1.201 GB, free: 13.61 MB / 0.8387 GB Notification: Performance of SimCode: time 7.52e-07/0.2523, allocations: 0 / 1.201 GB, free: 13.61 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.2696, allocations: 3.311 MB / 1.204 GB, free: 10.45 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.405/6.675, allocations: 0 / 1.204 GB, free: 10.45 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.137729251757264] Failed to read output from testmodel.py, exit status != 0: 6.751913592219353 6.761677372 6.515074948 Calling exit ...