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.001152/0.001152, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001063/0.001063, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9256/0.9256, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7317/0.7317, allocations: 154.6 MB / 413.7 MB, free: 0.8008 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.655e-06/2.655e-06, allocations: 0 / 0.6182 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.388e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001459/0.001482, allocations: 0.8026 MB / 0.619 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009694/0.002452, allocations: 0.9249 MB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.002503, allocations: 4 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.002537, allocations: 7.875 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.847e-05/0.002625, allocations: 11.81 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.002874, allocations: 47.88 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.002993, allocations: 119.5 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.003117, allocations: 29.28 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.00333, allocations: 83.73 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.212e-05/0.003402, allocations: 43.88 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.003425, allocations: 8 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.493e-05/0.00347, allocations: 12 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.167e-05/0.003491, allocations: 23.92 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.003526, allocations: 27.91 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.003691, allocations: 135.5 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.003694, allocations: 3.938 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.693e-06/0.003695, allocations: 4 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.0037, allocations: 4 kB / 0.6204 GB, free: 11.28 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.0004738/0.004174, allocations: 361.8 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.004214, allocations: 8.031 kB / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.353e-05/0.004248, allocations: 42.73 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004274/0.004675, allocations: 28.83 kB / 0.6208 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.004972, allocations: 197.7 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.004995, allocations: 4.375 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.005009, allocations: 8.375 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.005192, allocations: 116.7 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.005203, allocations: 8.172 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.005215, allocations: 384 / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.005222, allocations: 7.922 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.005366, allocations: 75.94 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004573/0.005823, allocations: 460.1 kB / 0.6217 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.005988, allocations: 107.8 kB / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.888e-05/0.006066, allocations: 58.59 kB / 0.6218 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.006089, allocations: 0 / 0.6218 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.006109, allocations: 42.5 kB / 0.6219 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.006111, allocations: 0 / 0.6219 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.000333/0.006444, allocations: 157.7 kB / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.006485, allocations: 106.8 kB / 0.6221 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.321e-05/0.006569, allocations: 149.5 kB / 0.6223 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.006587, allocations: 37.69 kB / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.006638, allocations: 96.38 kB / 0.6224 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.006668, allocations: 35.78 kB / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.006707, allocations: 29.7 kB / 0.6224 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.856e-05/0.006786, allocations: 322.8 kB / 0.6228 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.747e-05/0.006873, allocations: 43.91 kB / 0.6228 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.006988, allocations: 162.3 kB / 0.6229 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.007131, allocations: 94.39 kB / 0.623 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.007133, allocations: 0 / 0.623 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001897/0.007323, allocations: 145.5 kB / 0.6232 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.007338, allocations: 8 kB / 0.6232 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.007343, allocations: 3.938 kB / 0.6232 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.007355, allocations: 0 / 0.6232 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.293e-05/0.007438, allocations: 19.98 kB / 0.6232 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.007443, allocations: 0 / 0.6232 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.758e-05/0.0075, allocations: 16.03 kB / 0.6232 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.00751, allocations: 12 kB / 0.6232 GB, free: 8.082 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 8.344e-05/0.007594, allocations: 131 kB / 0.6234 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.007628, allocations: 11.91 kB / 0.6234 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.007785, allocations: 97.91 kB / 0.6235 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.007787, allocations: 0 / 0.6235 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.007791, allocations: 0 / 0.6235 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.007795, allocations: 4 kB / 0.6235 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.007988, allocations: 160.7 kB / 0.6236 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.007989, allocations: 0 / 0.6236 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.733e-05/0.008036, allocations: 19.98 kB / 0.6236 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.00804, allocations: 0 / 0.6236 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.008049, allocations: 8 kB / 0.6236 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.008053, allocations: 3.984 kB / 0.6237 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.008053, allocations: 3.938 kB / 0.6237 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.008293, allocations: 369.9 kB / 0.624 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.008304, allocations: 7.953 kB / 0.624 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.008323, allocations: 8 kB / 0.624 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.008425, allocations: 19.97 kB / 0.624 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.008485, allocations: 23.95 kB / 0.6241 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.008491, allocations: 4 kB / 0.6241 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.577e-05/0.008547, allocations: 114.7 kB / 0.6242 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008547, allocations: 3.938 kB / 0.6242 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002034/0.00875, allocations: 16 kB / 0.6242 GB, free: 7.023 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.0004616/0.009212, allocations: 0.9061 MB / 0.6251 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.009423, allocations: 91.86 kB / 0.6252 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.009424, allocations: 0 / 0.6252 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.702e-05/0.009512, allocations: 52.03 kB / 0.6252 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.009851, allocations: 17.38 kB / 0.6252 GB, free: 5.934 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.01144, allocations: 1.81 MB / 0.627 GB, free: 4.02 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.11e-05/0.01152, allocations: 80.33 kB / 0.6271 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.4e-05/0.01158, allocations: 16.64 kB / 0.6271 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.011e-05/0.01165, allocations: 40.47 kB / 0.6271 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of SimCode: time 7.21e-07/0.01165, allocations: 0 / 0.6271 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.02801, allocations: 3.437 MB / 0.6305 GB, free: 0.5977 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.627/6.655, allocations: 9.875 kB / 0.6305 GB, free: 0.5938 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 & /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: 9.39829201810062] Failed to read output from testmodel.py, exit status != 0: 6.734235284850001 6.745646515 6.740128832 Calling exit ...