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.000837/0.000837, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001054/0.001054, allocations: 208.1 kB / 22.25 MB, free: 3.574 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 1.014/1.014, allocations: 230.6 MB / 256 MB, free: 9.617 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.8158/0.8158, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.001042/0.001042, allocations: 70.64 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5609/0.5619, allocations: 102 MB / 0.8178 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001652/0.5636, allocations: 0.8082 MB / 0.8186 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008698/0.5645, allocations: 0.9162 MB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.5645, allocations: 1.969 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.513e-05/0.5646, allocations: 9.328 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.393e-05/0.5646, allocations: 21.03 kB / 0.8196 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.5649, allocations: 42.83 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.565, allocations: 115.4 kB / 0.8197 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.5651, allocations: 33.78 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.5653, allocations: 50.94 kB / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.181e-05/0.5654, allocations: 58.8 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.5654, allocations: 10.38 kB / 0.8199 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.541e-05/0.5655, allocations: 11.91 kB / 0.8199 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.393e-05/0.5655, allocations: 24.97 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.053e-05/0.5655, allocations: 39.34 kB / 0.8199 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.5657, allocations: 125.7 kB / 0.82 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5657, allocations: 0 / 0.82 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5657, allocations: 0 / 0.82 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.5657, allocations: 4 kB / 0.8201 GB, free: 15.6 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.0005535/0.5663, allocations: 370.8 kB / 0.8204 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.5663, allocations: 12.36 kB / 0.8204 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.311e-05/0.5664, allocations: 39.91 kB / 0.8205 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.5665, allocations: 35.89 kB / 0.8205 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.5669, allocations: 191.4 kB / 0.8207 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.5669, allocations: 6.781 kB / 0.8207 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.5669, allocations: 15.81 kB / 0.8207 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.5671, allocations: 114.4 kB / 0.8208 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.5671, allocations: 3.812 kB / 0.8208 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.5671, allocations: 4 kB / 0.8208 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.5671, allocations: 0.6094 kB / 0.8208 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.5673, allocations: 85.31 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.5678, allocations: 455.8 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.568, allocations: 115.2 kB / 0.8214 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.286e-05/0.5681, allocations: 52.84 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.5681, allocations: 3.5 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.5681, allocations: 35.92 kB / 0.8215 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.245e-06/0.5681, allocations: 0 / 0.8215 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003618/0.5685, allocations: 157.9 kB / 0.8217 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.5685, allocations: 113.2 kB / 0.8218 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.5686, allocations: 147.3 kB / 0.8219 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.5686, allocations: 31.53 kB / 0.822 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.5687, allocations: 105.5 kB / 0.8221 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.5687, allocations: 29.69 kB / 0.8221 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.5688, allocations: 28.77 kB / 0.8221 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.198e-05/0.5689, allocations: 330.1 kB / 0.8224 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.569, allocations: 40.84 kB / 0.8225 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.5691, allocations: 164.8 kB / 0.8226 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.5692, allocations: 96.06 kB / 0.8227 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.5692, allocations: 0 / 0.8227 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001966/0.5694, allocations: 143.4 kB / 0.8228 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.5695, allocations: 11.27 kB / 0.8229 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.5695, allocations: 3.125 kB / 0.8229 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.5695, allocations: 0 / 0.8229 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.647e-05/0.5696, allocations: 15.42 kB / 0.8229 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.5696, allocations: 1.25 kB / 0.8229 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.402e-05/0.5697, allocations: 20.69 kB / 0.8229 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.5697, allocations: 8.094 kB / 0.8229 GB, free: 13.27 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 9.077e-05/0.5698, allocations: 128.3 kB / 0.823 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.4e-05/0.5698, allocations: 12.03 kB / 0.823 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.57, allocations: 89.48 kB / 0.8231 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.57, allocations: 1.594 kB / 0.8231 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.57, allocations: 1.891 kB / 0.8231 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.57, allocations: 2.344 kB / 0.8231 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.5702, allocations: 158.6 kB / 0.8233 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.5702, allocations: 1.375 kB / 0.8233 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.082e-05/0.5703, allocations: 25.44 kB / 0.8233 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5703, allocations: 1.125 kB / 0.8233 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.5703, allocations: 11.7 kB / 0.8233 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.5703, allocations: 2.094 kB / 0.8233 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5703, allocations: 1.375 kB / 0.8233 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.5705, allocations: 369.2 kB / 0.8237 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.281e-05/0.5706, allocations: 17.48 kB / 0.8237 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.5706, allocations: 6.266 kB / 0.8237 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.5707, allocations: 22.81 kB / 0.8237 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/0.5708, allocations: 23.69 kB / 0.8237 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.5708, allocations: 7.188 kB / 0.8237 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.233e-05/0.5708, allocations: 114.5 kB / 0.8239 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.1e-08/0.5708, allocations: 0 / 0.8239 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002069/0.571, allocations: 17.94 kB / 0.8239 GB, free: 12.47 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.0005085/0.5715, allocations: 0.9103 MB / 0.8248 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002529/0.5718, allocations: 94.78 kB / 0.8249 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5718, allocations: 1.156 kB / 0.8249 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.647e-05/0.5719, allocations: 49.97 kB / 0.8249 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.5722, allocations: 14.28 kB / 0.8249 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.5739, allocations: 1.805 MB / 0.8267 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.905e-05/0.574, allocations: 87.52 kB / 0.8268 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.754e-05/0.5741, allocations: 19.66 kB / 0.8268 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.309e-05/0.5741, allocations: 37.61 kB / 0.8268 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of SimCode: time 7.51e-07/0.5741, allocations: 0 / 0.8268 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.5971, allocations: 3.301 MB / 0.83 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.624/7.221, allocations: 6.406 kB / 0.83 GB, free: 9.02 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.25838371925056] Failed to read output from testmodel.py, exit status != 0: 7.299734001047909 7.311567811 6.743365346 Calling exit ...