Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001121/0.001121, 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.0009456/0.0009456, allocations: 217.7 kB / 22.25 MB, free: 3.707 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.9703/0.9703, allocations: 230.6 MB / 256 MB, free: 9.816 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8375/0.8375, allocations: 203.8 MB / 0.5042 GB, free: 10.77 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="IDEAS_dev_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.0009978/0.0009978, allocations: 68.36 kB / 0.7183 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5505/0.5515, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001763/0.5533, allocations: 0.8463 MB / 0.8187 GB, free: 0.7148 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008911/0.5541, allocations: 0.9256 MB / 0.8196 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.208e-05/0.5542, allocations: 0 / 0.8196 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.484e-05/0.5542, allocations: 13.73 kB / 0.8196 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.5543, allocations: 24.59 kB / 0.8197 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.5546, allocations: 42.66 kB / 0.8197 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.5547, allocations: 125.4 kB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.5549, allocations: 22.05 kB / 0.8199 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.555, allocations: 60.52 kB / 0.8199 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.543e-05/0.5551, allocations: 58.41 kB / 0.82 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.5552, allocations: 7.469 kB / 0.82 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.617e-05/0.5552, allocations: 13.34 kB / 0.82 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.641e-05/0.5552, allocations: 30.58 kB / 0.82 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.745e-05/0.5553, allocations: 48.44 kB / 0.8201 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.5555, allocations: 118.8 kB / 0.8202 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.5555, allocations: 1.312 kB / 0.8202 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5555, allocations: 0 / 0.8202 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.5555, allocations: 3.938 kB / 0.8202 GB, free: 15.73 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.0005503/0.5561, allocations: 372.8 kB / 0.8205 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.5561, allocations: 12.41 kB / 0.8205 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.667e-05/0.5561, allocations: 38.39 kB / 0.8206 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.5563, allocations: 34.91 kB / 0.8206 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.5566, allocations: 199.2 kB / 0.8208 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.5567, allocations: 2.625 kB / 0.8208 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.5567, allocations: 14.78 kB / 0.8208 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.5569, allocations: 116.4 kB / 0.8209 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.5569, allocations: 0 / 0.8209 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.5569, allocations: 0.9688 kB / 0.8209 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.5569, allocations: 2.812 kB / 0.8209 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.5571, allocations: 81.06 kB / 0.821 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004963/0.5576, allocations: 474.6 kB / 0.8215 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.5577, allocations: 109.1 kB / 0.8216 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.259e-05/0.5578, allocations: 55.72 kB / 0.8216 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.5579, allocations: 6.219 kB / 0.8216 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.5579, allocations: 37.05 kB / 0.8217 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.5579, allocations: 3.938 kB / 0.8217 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003715/0.5583, allocations: 157.3 kB / 0.8218 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.5583, allocations: 104.5 kB / 0.8219 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.5584, allocations: 147.6 kB / 0.8221 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.5584, allocations: 28 kB / 0.8221 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/0.5585, allocations: 109.1 kB / 0.8222 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.5585, allocations: 27.27 kB / 0.8222 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.5586, allocations: 23.89 kB / 0.8222 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.92e-05/0.5586, allocations: 334.2 kB / 0.8226 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.333e-05/0.5587, allocations: 45.09 kB / 0.8226 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.5588, allocations: 86.52 kB / 0.8227 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.559, allocations: 97.94 kB / 0.8228 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.559, allocations: 0 / 0.8228 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002144/0.5592, allocations: 143.1 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.5592, allocations: 2.766 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5592, allocations: 1.969 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.5592, allocations: 5.781 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.936e-05/0.5593, allocations: 22.73 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.5594, allocations: 0 / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.178e-05/0.5594, allocations: 19.78 kB / 0.823 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.5594, allocations: 3.547 kB / 0.823 GB, free: 13.49 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.938e-05/0.5595, allocations: 126.4 kB / 0.8231 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.5595, allocations: 12.02 kB / 0.8231 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.5597, allocations: 92.8 kB / 0.8232 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5597, allocations: 5.5 kB / 0.8232 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.5597, allocations: 1.594 kB / 0.8232 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5597, allocations: 0.9844 kB / 0.8232 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.5599, allocations: 178 kB / 0.8234 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5599, allocations: 1.031 kB / 0.8234 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.618e-05/0.56, allocations: 18.45 kB / 0.8234 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.56, allocations: 5.469 kB / 0.8234 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.56, allocations: 4.125 kB / 0.8234 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.56, allocations: 1.031 kB / 0.8234 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.56, allocations: 1.156 kB / 0.8234 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.5603, allocations: 373.5 kB / 0.8238 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.5603, allocations: 16.33 kB / 0.8238 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.5603, allocations: 6.25 kB / 0.8238 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.5604, allocations: 14.48 kB / 0.8238 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.5605, allocations: 22.06 kB / 0.8238 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.5605, allocations: 9.969 kB / 0.8238 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.903e-05/0.5606, allocations: 113.2 kB / 0.8239 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5606, allocations: 4 kB / 0.8239 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002177/0.5608, allocations: 17.94 kB / 0.8239 GB, free: 12.69 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.0004744/0.5613, allocations: 0.9078 MB / 0.8248 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002373/0.5615, allocations: 103.5 kB / 0.8249 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.604e-06/0.5615, allocations: 0 / 0.8249 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.884e-05/0.5616, allocations: 50.28 kB / 0.825 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.562, allocations: 21.08 kB / 0.825 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.5635, allocations: 1.796 MB / 0.8268 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.5637, allocations: 0.7025 MB / 0.8274 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.485e-05/0.5638, allocations: 20.23 kB / 0.8275 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.877e-05/0.5638, allocations: 36.2 kB / 0.8275 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of SimCode: time 7.21e-07/0.5638, allocations: 0 / 0.8275 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.585, allocations: 2.851 MB / 0.8303 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.551/7.136, allocations: 4.953 kB / 0.8303 GB, free: 9.055 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.207106322981417] Failed to read output from testmodel.py, exit status != 0: 7.216009174007922 7.225850715 6.668121912 Calling exit ...