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.0008382/0.0008382, allocations: 105.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.0009317/0.0009317, allocations: 219.1 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.9688/0.9688, allocations: 230.6 MB / 256 MB, free: 9.812 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.03829/0.03829, allocations: 12.18 MB / 324.6 MB, free: 6.277 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.000499/0.000499, allocations: 27.91 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.801/1.801, allocations: 353.8 MB / 0.7787 GB, free: 3.07 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.001405/0.001405, allocations: 122.3 kB / 1.06 GB, free: 24.91 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2293, allocations: 134.9 MB / 1.192 GB, free: 7.812 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001926/0.2313, allocations: 0.8388 MB / 1.193 GB, free: 6.973 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.2323, allocations: 0.9249 MB / 1.194 GB, free: 6.035 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.2323, allocations: 3.938 kB / 1.194 GB, free: 6.031 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.297e-05/0.2324, allocations: 7.875 kB / 1.194 GB, free: 6.023 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.387e-05/0.2325, allocations: 31.78 kB / 1.194 GB, free: 5.992 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.2327, allocations: 39.89 kB / 1.194 GB, free: 5.953 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.2328, allocations: 107.7 kB / 1.194 GB, free: 5.848 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.233, allocations: 29.03 kB / 1.194 GB, free: 5.816 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.2331, allocations: 55.78 kB / 1.194 GB, free: 5.762 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.326e-05/0.2332, allocations: 59.75 kB / 1.194 GB, free: 5.703 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.2332, allocations: 12 kB / 1.194 GB, free: 5.691 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.618e-05/0.2333, allocations: 8 kB / 1.194 GB, free: 5.684 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.2333, allocations: 31.91 kB / 1.194 GB, free: 5.652 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.2334, allocations: 51.72 kB / 1.194 GB, free: 5.602 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.2335, allocations: 127.7 kB / 1.194 GB, free: 5.477 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2335, allocations: 4 kB / 1.194 GB, free: 5.473 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2335, allocations: 0 / 1.194 GB, free: 5.473 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.862e-06/0.2335, allocations: 0 / 1.194 GB, free: 5.473 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.0005347/0.2341, allocations: 365.7 kB / 1.194 GB, free: 5.082 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.2341, allocations: 16.03 kB / 1.194 GB, free: 5.066 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.908e-05/0.2342, allocations: 34.75 kB / 1.194 GB, free: 5.023 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.2344, allocations: 36.81 kB / 1.195 GB, free: 4.988 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.2347, allocations: 187.3 kB / 1.195 GB, free: 4.781 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.2347, allocations: 8.375 kB / 1.195 GB, free: 4.773 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.2347, allocations: 8.375 kB / 1.195 GB, free: 4.766 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.2349, allocations: 120.4 kB / 1.195 GB, free: 4.633 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.2349, allocations: 0 / 1.195 GB, free: 4.633 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.235, allocations: 4 kB / 1.195 GB, free: 4.629 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.235, allocations: 0 / 1.195 GB, free: 4.629 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.2351, allocations: 83.86 kB / 1.195 GB, free: 4.547 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005582/0.2357, allocations: 464.2 kB / 1.195 GB, free: 4.043 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.2359, allocations: 115.8 kB / 1.195 GB, free: 3.902 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.83e-05/0.236, allocations: 59.95 kB / 1.196 GB, free: 3.836 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.236, allocations: 8.062 kB / 1.196 GB, free: 3.828 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.2361, allocations: 34.56 kB / 1.196 GB, free: 3.785 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.924e-06/0.2361, allocations: 0 / 1.196 GB, free: 3.785 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0004464/0.2365, allocations: 165.7 kB / 1.196 GB, free: 3.617 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.02e-05/0.2366, allocations: 106.8 kB / 1.196 GB, free: 3.488 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.2367, allocations: 145.5 kB / 1.196 GB, free: 3.34 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.2368, allocations: 41.62 kB / 1.196 GB, free: 3.293 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/0.2368, allocations: 100.3 kB / 1.196 GB, free: 3.188 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.2369, allocations: 27.78 kB / 1.196 GB, free: 3.16 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.2369, allocations: 29.7 kB / 1.196 GB, free: 3.125 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2371, allocations: 330.8 kB / 1.196 GB, free: 2.793 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.2372, allocations: 43.91 kB / 1.197 GB, free: 2.75 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.2373, allocations: 81.11 kB / 1.197 GB, free: 2.652 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.2375, allocations: 94.45 kB / 1.197 GB, free: 2.551 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2375, allocations: 0 / 1.197 GB, free: 2.551 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002356/0.2377, allocations: 145.7 kB / 1.197 GB, free: 2.402 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.2377, allocations: 9.859 kB / 1.197 GB, free: 2.395 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.475e-06/0.2377, allocations: 0 / 1.197 GB, free: 2.395 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.2377, allocations: 8 kB / 1.197 GB, free: 2.387 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.2378, allocations: 15.98 kB / 1.197 GB, free: 2.371 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.2379, allocations: 0 / 1.197 GB, free: 2.371 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.2379, allocations: 19.98 kB / 1.197 GB, free: 2.352 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.2379, allocations: 7.984 kB / 1.197 GB, free: 2.344 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 0.0001068/0.238, allocations: 122.8 kB / 1.197 GB, free: 2.215 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.2381, allocations: 15.91 kB / 1.197 GB, free: 2.199 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.2383, allocations: 89.98 kB / 1.197 GB, free: 2.102 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.2383, allocations: 4 kB / 1.197 GB, free: 2.098 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.2383, allocations: 0 / 1.197 GB, free: 2.098 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.2384, allocations: 0 / 1.197 GB, free: 2.098 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.2386, allocations: 168.6 kB / 1.197 GB, free: 1.891 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2386, allocations: 0 / 1.197 GB, free: 1.891 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.808e-05/0.2387, allocations: 27.91 kB / 1.197 GB, free: 1.863 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2387, allocations: 4 kB / 1.197 GB, free: 1.859 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.2387, allocations: 0 / 1.197 GB, free: 1.859 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.2387, allocations: 4 kB / 1.197 GB, free: 1.855 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2387, allocations: 3.938 kB / 1.197 GB, free: 1.852 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.239, allocations: 385.8 kB / 1.198 GB, free: 1.457 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.684e-05/0.239, allocations: 11.89 kB / 1.198 GB, free: 1.445 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.2391, allocations: 4 kB / 1.198 GB, free: 1.441 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.2392, allocations: 11.98 kB / 1.198 GB, free: 1.43 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.2392, allocations: 27.89 kB / 1.198 GB, free: 1.402 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.2393, allocations: 11.92 kB / 1.198 GB, free: 1.391 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.411e-05/0.2393, allocations: 114.6 kB / 1.198 GB, free: 1.281 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.2393, allocations: 4 kB / 1.198 GB, free: 1.277 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002274/0.2395, allocations: 16 kB / 1.198 GB, free: 1.262 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.0004964/0.24, allocations: 0.9024 MB / 1.199 GB, free: 340 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.2403, allocations: 95.86 kB / 1.199 GB, free: 244 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2403, allocations: 0 / 1.199 GB, free: 244 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.2404, allocations: 52.02 kB / 1.199 GB, free: 192 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005798/0.241, allocations: 15.88 kB / 1.199 GB, free: 176 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.2429, allocations: 1.805 MB / 1.201 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.2432, allocations: 0.7079 MB / 1.201 GB, free: 13.53 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 9.335e-05/0.2433, allocations: 21.05 kB / 1.201 GB, free: 13.51 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.151e-05/0.2434, allocations: 35.42 kB / 1.201 GB, free: 13.48 MB / 0.8387 GB Notification: Performance of SimCode: time 1.673e-06/0.2434, allocations: 0 / 1.201 GB, free: 13.48 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/0.2621, allocations: 2.85 MB / 1.204 GB, free: 10.75 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.487/6.749, allocations: 8.25 kB / 1.204 GB, free: 10.75 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 & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.442266944795847] Failed to read output from testmodel.py, exit status != 0: 6.829037385061383 6.8427728 6.6073614130000005 Calling exit ...