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.001267/0.001267, 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.001515/0.001515, allocations: 170.3 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.9275/0.9275, 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.7483/0.7483, allocations: 154.6 MB / 413.7 MB, free: 0.8281 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 3.046e-06/3.046e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.655e-05, allocations: 3.188 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001565/0.001591, allocations: 0.8054 MB / 0.6189 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008775/0.002469, allocations: 0.9249 MB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.00252, allocations: 0 / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 5.981e-05/0.00258, allocations: 11.86 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.00268, allocations: 19.75 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.002946, allocations: 47.88 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.003069, allocations: 115.6 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.003176, allocations: 25.3 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.003343, allocations: 67.81 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.702e-05/0.00341, allocations: 47.88 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.00343, allocations: 8 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.113e-05/0.003471, allocations: 19.92 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.00349, allocations: 19.92 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.003521, allocations: 35.91 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.003677, allocations: 131.5 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003679, allocations: 0 / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.212e-06/0.00368, allocations: 0 / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.003684, allocations: 4 kB / 0.6203 GB, free: 11.37 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.0004833/0.004167, allocations: 365.8 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.004204, allocations: 13.47 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.153e-05/0.004235, allocations: 34.75 kB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.004406, allocations: 36.81 kB / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.004708, allocations: 193 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.00473, allocations: 8.359 kB / 0.621 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.004743, allocations: 8.375 kB / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.004929, allocations: 120.7 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.004936, allocations: 192 / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.004947, allocations: 384 / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.004954, allocations: 7.938 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.005103, allocations: 87.78 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.005528, allocations: 456.2 kB / 0.6216 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.005681, allocations: 107.8 kB / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.939e-05/0.00577, allocations: 58.55 kB / 0.6218 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.005794, allocations: 3.984 kB / 0.6218 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.005816, allocations: 38.56 kB / 0.6218 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.005817, allocations: 0 / 0.6218 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.000353/0.00617, allocations: 157.7 kB / 0.622 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.006217, allocations: 106.8 kB / 0.6221 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.329e-05/0.00631, allocations: 154.3 kB / 0.6222 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.006326, allocations: 29.7 kB / 0.6222 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.006379, allocations: 104.4 kB / 0.6223 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.006407, allocations: 23.86 kB / 0.6223 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.006451, allocations: 29.72 kB / 0.6224 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.866e-05/0.006539, allocations: 322.8 kB / 0.6227 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-05/0.006624, allocations: 43.95 kB / 0.6227 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.006756, allocations: 162.3 kB / 0.6229 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.006909, allocations: 94.39 kB / 0.623 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006911, allocations: 0 / 0.623 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002021/0.007113, allocations: 145.8 kB / 0.6231 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.007126, allocations: 4 kB / 0.6231 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.007133, allocations: 0 / 0.6231 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.007147, allocations: 8.094 kB / 0.6231 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.642e-05/0.007234, allocations: 23.97 kB / 0.6231 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.007239, allocations: 0 / 0.6231 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.0073, allocations: 15.98 kB / 0.6232 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.007309, allocations: 4 kB / 0.6232 GB, free: 8.168 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.273e-05/0.007392, allocations: 134.7 kB / 0.6233 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.007427, allocations: 15.91 kB / 0.6233 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.007588, allocations: 93.86 kB / 0.6234 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.007591, allocations: 4 kB / 0.6234 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.007595, allocations: 0 / 0.6234 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.007599, allocations: 0 / 0.6234 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.007826, allocations: 160.7 kB / 0.6236 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.007827, allocations: 0 / 0.6236 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.034e-05/0.007888, allocations: 31.91 kB / 0.6236 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.007891, allocations: 0 / 0.6236 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.007904, allocations: 4 kB / 0.6236 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.007908, allocations: 4 kB / 0.6236 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.007908, allocations: 0 / 0.6236 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.008195, allocations: 369.9 kB / 0.6239 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.008206, allocations: 7.953 kB / 0.624 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.008226, allocations: 8 kB / 0.624 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.008333, allocations: 11.98 kB / 0.624 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.331e-05/0.008407, allocations: 27.89 kB / 0.624 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.008414, allocations: 7.984 kB / 0.624 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.101e-05/0.008475, allocations: 118.7 kB / 0.6241 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.008475, allocations: 0 / 0.6241 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000235/0.00871, allocations: 12 kB / 0.6241 GB, free: 7.102 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.0005512/0.009261, allocations: 0.9023 MB / 0.625 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002516/0.009513, allocations: 91.86 kB / 0.6251 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.009515, allocations: 0 / 0.6251 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.355e-05/0.009608, allocations: 56.02 kB / 0.6252 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.009963, allocations: 14.19 kB / 0.6252 GB, free: 6.012 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.01145, allocations: 1.817 MB / 0.6269 GB, free: 4.09 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.451e-05/0.01153, allocations: 84.31 kB / 0.627 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.02e-05/0.0116, allocations: 16.97 kB / 0.627 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.668e-05/0.01168, allocations: 40.47 kB / 0.6271 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of SimCode: time 9.22e-07/0.01168, allocations: 0 / 0.6271 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.03346, allocations: 3.445 MB / 0.6304 GB, free: 0.6562 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.904/6.938, allocations: 6.031 kB / 0.6304 GB, free: 0.6562 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.847744857892394] Failed to read output from testmodel.py, exit status != 0: 7.018858636729419 7.0275735 7.022041991 Calling exit ...