Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0007664/0.0007664, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007826/0.0007826, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.8911/0.8911, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7313/0.7313, allocations: 154.6 MB / 413.8 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.354e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002158/0.002181, allocations: 0.8119 MB / 0.619 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008711/0.003052, allocations: 0.9132 MB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.834e-05/0.003101, allocations: 4 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.33e-05/0.003134, allocations: 15.75 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.099e-05/0.003215, allocations: 15.86 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.003432, allocations: 51.86 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.003538, allocations: 115.6 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.00364, allocations: 17.28 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.003816, allocations: 79.8 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.796e-05/0.003884, allocations: 43.88 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.003904, allocations: 8 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.736e-05/0.003951, allocations: 15.94 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.003971, allocations: 31.84 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.004004, allocations: 31.91 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.004158, allocations: 135.6 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.00416, allocations: 3.938 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.012e-06/0.004161, allocations: 0 / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.004164, allocations: 0 / 0.6204 GB, free: 11.3 MB / 0.5886 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.0004602/0.004625, allocations: 361.8 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.004664, allocations: 12.03 kB / 0.6208 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.162e-05/0.004696, allocations: 34.75 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.00484, allocations: 40.81 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.005122, allocations: 193.6 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.005143, allocations: 8.375 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.005157, allocations: 4.375 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.005331, allocations: 120.8 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.005338, allocations: 4.188 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.005348, allocations: 384 / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.005354, allocations: 3.938 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.005499, allocations: 79.86 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.005903, allocations: 464.1 kB / 0.6217 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.006057, allocations: 111.8 kB / 0.6218 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.624e-05/0.006133, allocations: 54.55 kB / 0.6218 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.006155, allocations: 0 / 0.6218 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.006173, allocations: 34.56 kB / 0.6219 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.006174, allocations: 0 / 0.6219 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0003309/0.006505, allocations: 161.4 kB / 0.622 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.006565, allocations: 110.8 kB / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.056e-05/0.006645, allocations: 149.9 kB / 0.6223 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.006662, allocations: 37.64 kB / 0.6223 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.006708, allocations: 100.4 kB / 0.6224 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.006732, allocations: 23.8 kB / 0.6224 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.006768, allocations: 29.7 kB / 0.6224 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.048e-05/0.006839, allocations: 323.1 kB / 0.6227 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.251e-05/0.006921, allocations: 43.97 kB / 0.6228 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.007067, allocations: 162.2 kB / 0.6229 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.007205, allocations: 94.39 kB / 0.623 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.007207, allocations: 0 / 0.623 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001856/0.007393, allocations: 145.7 kB / 0.6232 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.007404, allocations: 8 kB / 0.6232 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.007408, allocations: 0 / 0.6232 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.00742, allocations: 4.031 kB / 0.6232 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.298e-05/0.007493, allocations: 19.98 kB / 0.6232 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.007497, allocations: 0 / 0.6232 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.007e-05/0.007557, allocations: 31.97 kB / 0.6232 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.007564, allocations: 4 kB / 0.6232 GB, free: 8.09 MB / 0.5886 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 6.707e-05/0.007632, allocations: 122.8 kB / 0.6234 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.007665, allocations: 11.91 kB / 0.6234 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.007804, allocations: 89.98 kB / 0.6235 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.007807, allocations: 0 / 0.6235 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.007812, allocations: 4 kB / 0.6235 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.007815, allocations: 0 / 0.6235 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.008005, allocations: 172.6 kB / 0.6236 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.008007, allocations: 0 / 0.6236 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.453e-05/0.008051, allocations: 19.92 kB / 0.6236 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.008054, allocations: 4 kB / 0.6236 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.008062, allocations: 3.984 kB / 0.6236 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.008063, allocations: 0 / 0.6236 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.008065, allocations: 4 kB / 0.6237 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.00829, allocations: 374 kB / 0.624 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-06/0.0083, allocations: 11.89 kB / 0.624 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.008318, allocations: 7.984 kB / 0.624 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.008418, allocations: 11.98 kB / 0.624 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.008473, allocations: 23.95 kB / 0.6241 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.008479, allocations: 8 kB / 0.6241 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.594e-05/0.008525, allocations: 110.7 kB / 0.6242 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008525, allocations: 0 / 0.6242 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002109/0.008736, allocations: 20 kB / 0.6242 GB, free: 7.039 MB / 0.5886 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.0004686/0.009204, allocations: 0.9022 MB / 0.6251 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001975/0.009402, allocations: 99.8 kB / 0.6252 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.009404, allocations: 4 kB / 0.6252 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.021e-05/0.009484, allocations: 43.91 kB / 0.6252 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.009774, allocations: 18.83 kB / 0.6252 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.01115, allocations: 1.81 MB / 0.627 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.268e-05/0.01121, allocations: 84.31 kB / 0.6271 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.684e-05/0.01127, allocations: 17.03 kB / 0.6271 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.959e-05/0.01133, allocations: 40.47 kB / 0.6271 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of SimCode: time 8.51e-07/0.01133, allocations: 0 / 0.6271 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01471/0.02604, allocations: 3.431 MB / 0.6305 GB, free: 0.6094 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.957/6.983, allocations: 5.594 kB / 0.6305 GB, free: 0.6094 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.751136541366577] Failed to read output from testmodel.py, exit status != 0: 7.066493653692305 7.079038292 7.072029777 Calling exit ...