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.0008697/0.0008697, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.0008886/0.0008886, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.9205/0.9205, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.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.7499/0.7499, allocations: 154.6 MB / 413.7 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.705e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001509/0.001526, allocations: 0.8119 MB / 0.6189 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009442/0.00247, allocations: 0.9171 MB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.448e-05/0.002525, allocations: 0 / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.578e-05/0.002561, allocations: 7.875 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.78e-05/0.002658, allocations: 23.73 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.002907, allocations: 39.95 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.00303, allocations: 119.6 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.003146, allocations: 17.3 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.003351, allocations: 83.73 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.517e-05/0.003426, allocations: 39.88 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.00345, allocations: 12 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.628e-05/0.003497, allocations: 15.94 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.381e-05/0.00352, allocations: 27.91 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.003553, allocations: 27.92 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.00372, allocations: 135.6 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003722, allocations: 0 / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.62e-07/0.003723, allocations: 0 / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.003728, allocations: 0 / 0.6203 GB, free: 11.36 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.0005045/0.004232, allocations: 365.8 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.004273, allocations: 9.469 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.423e-05/0.004308, allocations: 42.67 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.004456, allocations: 32.83 kB / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.004751, allocations: 196.9 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.004777, allocations: 8.375 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.004795, allocations: 8.375 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.005012, allocations: 120.7 kB / 0.6211 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.00502, allocations: 4.188 kB / 0.6211 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.005033, allocations: 8.375 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.005041, allocations: 3.938 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.005187, allocations: 63.94 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.00565, allocations: 472.1 kB / 0.6216 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.005815, allocations: 111.8 kB / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.193e-05/0.005897, allocations: 50.61 kB / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.005923, allocations: 7.984 kB / 0.6218 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.005945, allocations: 34.5 kB / 0.6218 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.005946, allocations: 0 / 0.6218 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0003573/0.006303, allocations: 165.5 kB / 0.622 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.006351, allocations: 106.8 kB / 0.6221 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.006731, allocations: 146.3 kB / 0.6222 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.006751, allocations: 33.64 kB / 0.6222 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.893e-05/0.00681, allocations: 104.4 kB / 0.6223 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.006838, allocations: 23.8 kB / 0.6223 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.006878, allocations: 29.7 kB / 0.6224 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.791e-05/0.006966, allocations: 323.1 kB / 0.6227 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.421e-05/0.00705, allocations: 39.97 kB / 0.6227 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.007177, allocations: 166.2 kB / 0.6229 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.007329, allocations: 94.45 kB / 0.623 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.007332, allocations: 0 / 0.623 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000203/0.007535, allocations: 141.5 kB / 0.6231 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.007549, allocations: 6.656 kB / 0.6231 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.007556, allocations: 4 kB / 0.6231 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.00757, allocations: 7.875 kB / 0.6231 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.244e-05/0.007653, allocations: 15.98 kB / 0.6231 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.007659, allocations: 4 kB / 0.6231 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.811e-05/0.007728, allocations: 23.97 kB / 0.6232 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.007738, allocations: 4 kB / 0.6232 GB, free: 8.148 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.409e-05/0.007822, allocations: 122.8 kB / 0.6233 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.00786, allocations: 15.97 kB / 0.6233 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001646/0.008024, allocations: 93.92 kB / 0.6234 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.008027, allocations: 0 / 0.6234 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.008032, allocations: 0 / 0.6234 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.008036, allocations: 0 / 0.6234 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.008247, allocations: 172.6 kB / 0.6236 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.008248, allocations: 4 kB / 0.6236 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.678e-05/0.008295, allocations: 15.98 kB / 0.6236 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.008297, allocations: 0 / 0.6236 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.008309, allocations: 7.984 kB / 0.6236 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.00831, allocations: 0 / 0.6236 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.008312, allocations: 384 / 0.6236 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.008574, allocations: 381.9 kB / 0.6239 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.392e-05/0.008588, allocations: 11.94 kB / 0.624 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.008607, allocations: 4 kB / 0.624 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.008717, allocations: 19.97 kB / 0.624 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/0.008784, allocations: 23.95 kB / 0.624 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.00879, allocations: 0 / 0.624 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.792e-05/0.008847, allocations: 114.7 kB / 0.6241 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.008848, allocations: 0 / 0.6241 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002202/0.009068, allocations: 16 kB / 0.6241 GB, free: 7.09 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.0005023/0.00957, allocations: 0.9061 MB / 0.625 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002378/0.009808, allocations: 91.86 kB / 0.6251 GB, free: 6.062 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.00981, allocations: 8 kB / 0.6251 GB, free: 6.055 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.783e-05/0.009897, allocations: 51.84 kB / 0.6252 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.01021, allocations: 14.72 kB / 0.6252 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.01166, allocations: 1.814 MB / 0.6269 GB, free: 4.074 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.269e-05/0.01174, allocations: 84.31 kB / 0.627 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.738e-05/0.01179, allocations: 16.7 kB / 0.627 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.271e-05/0.01186, allocations: 32.48 kB / 0.6271 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of SimCode: time 5.71e-07/0.01186, allocations: 0 / 0.6271 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/0.03037, allocations: 3.449 MB / 0.6304 GB, free: 0.6445 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.86/6.89, allocations: 8.969 kB / 0.6304 GB, free: 0.6406 MB / 0.5886 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: 9.615383417345583] Failed to read output from testmodel.py, exit status != 0: 6.969340978190303 6.979733242 6.974157609 Calling exit ...