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.0006979/0.0006979, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 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.0006933/0.0006933, allocations: 212.6 kB / 23 MB, free: 2.98 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.8398/0.8398, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.7232/0.7232, allocations: 203.8 MB / 0.5049 GB, free: 10.02 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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis") [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.0009329/0.0009329, allocations: 67.03 kB / 0.7194 GB, free: 3.504 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.435, allocations: 102 MB / 0.8191 GB, free: 1.348 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001487/0.4365, allocations: 0.8085 MB / 0.8199 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008122/0.4373, allocations: 0.9153 MB / 0.8207 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.069e-05/0.4374, allocations: 4 kB / 0.8207 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.912e-05/0.4374, allocations: 8.531 kB / 0.8208 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.53e-05/0.4375, allocations: 23.48 kB / 0.8208 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.4377, allocations: 40.8 kB / 0.8208 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.4378, allocations: 122.1 kB / 0.8209 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.438, allocations: 27.05 kB / 0.821 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.4381, allocations: 51.77 kB / 0.821 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.9e-05/0.4382, allocations: 55.58 kB / 0.8211 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.4382, allocations: 8.25 kB / 0.8211 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.092e-05/0.4383, allocations: 15.69 kB / 0.8211 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.4383, allocations: 31 kB / 0.8211 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.4383, allocations: 39.62 kB / 0.8212 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.4385, allocations: 120.7 kB / 0.8213 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.4385, allocations: 0 / 0.8213 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4385, allocations: 0 / 0.8213 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.4385, allocations: 0 / 0.8213 GB, free: 15.88 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.0005159/0.439, allocations: 371.4 kB / 0.8216 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.4391, allocations: 9.406 kB / 0.8216 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.4393, allocations: 40.52 kB / 0.8217 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.4396, allocations: 187.6 kB / 0.8218 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.4396, allocations: 7.281 kB / 0.8219 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.4396, allocations: 9.25 kB / 0.8219 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.4398, allocations: 121.4 kB / 0.822 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.4398, allocations: 3.938 kB / 0.822 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.4398, allocations: 8.594 kB / 0.822 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4398, allocations: 1.625 kB / 0.822 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.44, allocations: 73.69 kB / 0.8221 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.4404, allocations: 443.9 kB / 0.8225 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.4405, allocations: 114.2 kB / 0.8226 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.686e-05/0.4406, allocations: 54.62 kB / 0.8226 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.4406, allocations: 2.625 kB / 0.8227 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.4407, allocations: 34.19 kB / 0.8227 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.694e-06/0.4407, allocations: 4 kB / 0.8227 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003505/0.441, allocations: 158.5 kB / 0.8228 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.441, allocations: 109.1 kB / 0.8229 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.685e-05/0.4411, allocations: 145 kB / 0.8231 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.4412, allocations: 33.73 kB / 0.8231 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.4412, allocations: 110.7 kB / 0.8232 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.4412, allocations: 24.94 kB / 0.8232 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.4413, allocations: 30.19 kB / 0.8233 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.489e-05/0.4413, allocations: 326.7 kB / 0.8236 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.286e-05/0.4414, allocations: 44.59 kB / 0.8236 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.4416, allocations: 159.2 kB / 0.8238 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.4417, allocations: 94.98 kB / 0.8239 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.4417, allocations: 0 / 0.8239 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000215/0.4419, allocations: 140.9 kB / 0.824 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.4419, allocations: 5.812 kB / 0.824 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.442, allocations: 0.6562 kB / 0.824 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.442, allocations: 2.531 kB / 0.824 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.278e-05/0.442, allocations: 22.38 kB / 0.824 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4421, allocations: 1.625 kB / 0.824 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.138e-05/0.4421, allocations: 19.36 kB / 0.8241 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.4421, allocations: 4.234 kB / 0.8241 GB, free: 13.64 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.04e-05/0.4422, allocations: 132.2 kB / 0.8242 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.4422, allocations: 13.27 kB / 0.8242 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.4424, allocations: 92.61 kB / 0.8243 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4424, allocations: 1.594 kB / 0.8243 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4424, allocations: 2.125 kB / 0.8243 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4424, allocations: 2.172 kB / 0.8243 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.4426, allocations: 138.5 kB / 0.8244 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4426, allocations: 1.219 kB / 0.8244 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.577e-05/0.4426, allocations: 22.28 kB / 0.8244 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.4426, allocations: 6.328 kB / 0.8244 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.4427, allocations: 6.578 kB / 0.8245 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.4427, allocations: 1.906 kB / 0.8245 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4427, allocations: 4 kB / 0.8245 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.4429, allocations: 366.8 kB / 0.8248 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.4429, allocations: 12.72 kB / 0.8248 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.4429, allocations: 7.375 kB / 0.8248 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.443, allocations: 17.75 kB / 0.8248 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.4431, allocations: 28.58 kB / 0.8249 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.4431, allocations: 7.922 kB / 0.8249 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.239e-05/0.4432, allocations: 113.1 kB / 0.825 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.4432, allocations: 0 / 0.825 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002068/0.4434, allocations: 18.47 kB / 0.825 GB, free: 12.86 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 9.14e-05/0.4435, allocations: 96.05 kB / 0.8251 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.4437, allocations: 103 kB / 0.8252 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4437, allocations: 3.938 kB / 0.8252 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.831e-05/0.4438, allocations: 51.61 kB / 0.8253 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.4441, allocations: 18.41 kB / 0.8253 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.4445, allocations: 226.9 kB / 0.8255 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.04e-05/0.4445, allocations: 92.16 kB / 0.8256 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.674e-05/0.4446, allocations: 22.84 kB / 0.8256 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/0.4446, allocations: 1.219 kB / 0.8256 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of Templates: time 0.002614/0.4472, allocations: 1.545 MB / 0.8271 GB, free: 12.3 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.334568751044571] Failed to read output from testmodel.py, exit status != 0: 0.4536620322614908 0.463471904 0.023066144 Calling exit ...