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.0007862/0.0007862, 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.0009263/0.0009263, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.9747/0.9747, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.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.8305/0.8305, allocations: 203.5 MB / 0.5039 GB, free: 10.69 MB / 410.7 MB " [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: IDEAS 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.001124/0.001124, allocations: 75.14 kB / 0.7178 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5287/0.5298, allocations: 102 MB / 0.8174 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.00168/0.5315, allocations: 0.8107 MB / 0.8182 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007574/0.5322, allocations: 0.9157 MB / 0.8191 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.5323, allocations: 3.156 kB / 0.8191 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.5323, allocations: 9.328 kB / 0.8191 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.322e-05/0.5324, allocations: 20.28 kB / 0.8191 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.5326, allocations: 49.78 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.5328, allocations: 112.9 kB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.5329, allocations: 23.2 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.533, allocations: 60.25 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.977e-05/0.5331, allocations: 47.41 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.5331, allocations: 14.06 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.373e-05/0.5332, allocations: 15.78 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.009e-05/0.5332, allocations: 27.66 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.5333, allocations: 35.92 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.5334, allocations: 127.6 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.5334, allocations: 4 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5335, allocations: 0 / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.5335, allocations: 0 / 0.8196 GB, free: 15.78 MB / 0.6198 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.0005129/0.534, allocations: 369.6 kB / 0.82 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.534, allocations: 14.05 kB / 0.82 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.563e-05/0.534, allocations: 37.73 kB / 0.82 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.5342, allocations: 34.91 kB / 0.8201 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.5345, allocations: 201 kB / 0.8203 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.5346, allocations: 7.812 kB / 0.8203 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.5346, allocations: 3.031 kB / 0.8203 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.5348, allocations: 124.7 kB / 0.8204 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.5348, allocations: 2.125 kB / 0.8204 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.5348, allocations: 8 kB / 0.8204 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.5348, allocations: 1.812 kB / 0.8204 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.535, allocations: 68.27 kB / 0.8205 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004843/0.5355, allocations: 466.9 kB / 0.8209 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.5357, allocations: 112.8 kB / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.123e-05/0.5358, allocations: 54.47 kB / 0.8211 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.5358, allocations: 0 / 0.8211 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.5358, allocations: 37.95 kB / 0.8211 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.5358, allocations: 3.938 kB / 0.8211 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003717/0.5362, allocations: 164.2 kB / 0.8213 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.5362, allocations: 106.2 kB / 0.8214 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.5363, allocations: 147.2 kB / 0.8215 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.5363, allocations: 25.7 kB / 0.8215 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.662e-05/0.5364, allocations: 109.9 kB / 0.8216 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.5364, allocations: 26.27 kB / 0.8217 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.5365, allocations: 23.7 kB / 0.8217 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.942e-05/0.5366, allocations: 338.3 kB / 0.822 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.242e-05/0.5367, allocations: 44.38 kB / 0.8221 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.5368, allocations: 154.8 kB / 0.8222 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.5369, allocations: 95.23 kB / 0.8223 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.537, allocations: 3.938 kB / 0.8223 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002039/0.5372, allocations: 140.7 kB / 0.8224 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.5372, allocations: 5.953 kB / 0.8224 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.5372, allocations: 3.688 kB / 0.8224 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.5372, allocations: 0 / 0.8224 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.456e-05/0.5373, allocations: 25.88 kB / 0.8225 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.5373, allocations: 1.828 kB / 0.8225 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.193e-05/0.5373, allocations: 21.11 kB / 0.8225 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.5373, allocations: 5.75 kB / 0.8225 GB, free: 13.45 MB / 0.6198 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.181e-05/0.5374, allocations: 125.6 kB / 0.8226 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.5375, allocations: 13.88 kB / 0.8226 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.5376, allocations: 88.83 kB / 0.8227 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.5376, allocations: 2.531 kB / 0.8227 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.5376, allocations: 3.75 kB / 0.8227 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.5376, allocations: 0 / 0.8227 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.5378, allocations: 166.1 kB / 0.8229 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5378, allocations: 7.984 kB / 0.8229 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.627e-05/0.5379, allocations: 23.7 kB / 0.8229 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5379, allocations: 0 / 0.8229 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.5379, allocations: 1.953 kB / 0.8229 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.227e-06/0.5379, allocations: 6.703 kB / 0.8229 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.5379, allocations: 0 / 0.8229 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.5382, allocations: 371.2 kB / 0.8233 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.5382, allocations: 17.22 kB / 0.8233 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.5382, allocations: 4.906 kB / 0.8233 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.5383, allocations: 11.98 kB / 0.8233 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/0.5384, allocations: 23.14 kB / 0.8233 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.5384, allocations: 13.2 kB / 0.8233 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.866e-05/0.5385, allocations: 115.7 kB / 0.8234 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5385, allocations: 0 / 0.8234 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002093/0.5387, allocations: 15 kB / 0.8235 GB, free: 12.65 MB / 0.6198 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.000527/0.5392, allocations: 0.9018 MB / 0.8243 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.5394, allocations: 100.7 kB / 0.8244 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.5394, allocations: 0 / 0.8244 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.5396, allocations: 57.12 kB / 0.8245 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.5399, allocations: 12.34 kB / 0.8245 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.5415, allocations: 1.802 MB / 0.8263 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.536e-05/0.5415, allocations: 83.64 kB / 0.8263 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.181e-05/0.5416, allocations: 20.94 kB / 0.8264 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.041e-05/0.5417, allocations: 35.55 kB / 0.8264 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.5417, allocations: 1.25 kB / 0.8264 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/0.5575, allocations: 3.303 MB / 0.8296 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.054/7.611, allocations: 10.22 kB / 0.8296 GB, free: 9.207 MB / 0.6198 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 10.673174981959164] Failed to read output from testmodel.py, exit status != 0: 7.691171410027891 7.705887311 7.170090177 Calling exit ...