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.001203/0.001203, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0009164/0.0009164, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9525/0.9525, allocations: 230.6 MB / 256 MB, free: 9.578 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.7806/0.7806, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.001562/0.001562, allocations: 66.55 kB / 0.7182 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5196/0.5211, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001519/0.5226, allocations: 0.8124 MB / 0.8186 GB, free: 0.5078 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008975/0.5235, allocations: 0.9165 MB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.621e-05/0.5236, allocations: 2.969 kB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.406e-05/0.5236, allocations: 8.531 kB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.789e-05/0.5237, allocations: 20.62 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.524, allocations: 48.03 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.5242, allocations: 112.6 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.5243, allocations: 36.03 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.5245, allocations: 53.97 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.347e-05/0.5246, allocations: 50.72 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.5246, allocations: 9.562 kB / 0.8199 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.696e-05/0.5246, allocations: 12.78 kB / 0.8199 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.5247, allocations: 28.03 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.965e-05/0.5247, allocations: 39 kB / 0.8199 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.5249, allocations: 128.4 kB / 0.8201 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5249, allocations: 0 / 0.8201 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5249, allocations: 0 / 0.8201 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.5249, allocations: 4 kB / 0.8201 GB, free: 15.55 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.0005176/0.5254, allocations: 370 kB / 0.8204 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.5254, allocations: 9.344 kB / 0.8204 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.605e-05/0.5255, allocations: 37.66 kB / 0.8205 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.5256, allocations: 33.64 kB / 0.8205 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.5259, allocations: 199.6 kB / 0.8207 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.526, allocations: 8.156 kB / 0.8207 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.526, allocations: 7.219 kB / 0.8207 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.5262, allocations: 122.4 kB / 0.8208 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.5262, allocations: 3.938 kB / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.5262, allocations: 0.6562 kB / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.5262, allocations: 5.656 kB / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.5264, allocations: 77.27 kB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.5268, allocations: 459.8 kB / 0.8213 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.527, allocations: 111.5 kB / 0.8214 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.658e-05/0.5271, allocations: 56.59 kB / 0.8215 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.5271, allocations: 3.328 kB / 0.8215 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.5271, allocations: 34.19 kB / 0.8215 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.5271, allocations: 0 / 0.8215 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003631/0.5275, allocations: 160.2 kB / 0.8217 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.5275, allocations: 111.1 kB / 0.8218 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.155e-05/0.5276, allocations: 142.9 kB / 0.8219 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.5276, allocations: 31.83 kB / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.5277, allocations: 106.7 kB / 0.8221 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.5277, allocations: 28.58 kB / 0.8221 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.5277, allocations: 29.12 kB / 0.8221 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.148e-05/0.5278, allocations: 331 kB / 0.8224 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.594e-05/0.5279, allocations: 42.33 kB / 0.8225 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.528, allocations: 162.2 kB / 0.8226 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.5282, allocations: 91.28 kB / 0.8227 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5282, allocations: 0 / 0.8227 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001978/0.5284, allocations: 145.5 kB / 0.8228 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.5284, allocations: 10.62 kB / 0.8229 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5284, allocations: 0 / 0.8229 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.5284, allocations: 1.5 kB / 0.8229 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.146e-05/0.5285, allocations: 21.98 kB / 0.8229 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5285, allocations: 1.438 kB / 0.8229 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.299e-05/0.5286, allocations: 20.39 kB / 0.8229 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.5286, allocations: 7.75 kB / 0.8229 GB, free: 13.23 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 8.264e-05/0.5287, allocations: 132.3 kB / 0.823 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.5287, allocations: 17.25 kB / 0.823 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.5289, allocations: 85.81 kB / 0.8231 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.5289, allocations: 1.531 kB / 0.8231 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5289, allocations: 1.656 kB / 0.8231 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5289, allocations: 0.7969 kB / 0.8231 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.5291, allocations: 167.1 kB / 0.8233 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.5291, allocations: 1 kB / 0.8233 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.706e-05/0.5292, allocations: 26.86 kB / 0.8233 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5292, allocations: 1.25 kB / 0.8233 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.5292, allocations: 2.844 kB / 0.8233 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.5292, allocations: 1.922 kB / 0.8233 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5292, allocations: 1.094 kB / 0.8233 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.5294, allocations: 371 kB / 0.8237 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.5294, allocations: 11.97 kB / 0.8237 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.5295, allocations: 11.48 kB / 0.8237 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.5296, allocations: 13.55 kB / 0.8237 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.5296, allocations: 22.55 kB / 0.8237 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.5296, allocations: 9.469 kB / 0.8237 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.695e-05/0.5297, allocations: 109.7 kB / 0.8239 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5297, allocations: 0 / 0.8239 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002196/0.5299, allocations: 18.72 kB / 0.8239 GB, free: 12.44 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.0004517/0.5304, allocations: 0.9057 MB / 0.8248 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.5306, allocations: 99.77 kB / 0.8248 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5306, allocations: 0 / 0.8248 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.773e-05/0.5307, allocations: 50.36 kB / 0.8249 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.531, allocations: 15.27 kB / 0.8249 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.5326, allocations: 1.806 MB / 0.8267 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.204e-05/0.5327, allocations: 92.62 kB / 0.8268 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.487e-05/0.5327, allocations: 23.98 kB / 0.8268 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.948e-05/0.5328, allocations: 31.17 kB / 0.8268 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.5328, allocations: 1.344 kB / 0.8268 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.5586, allocations: 3.301 MB / 0.83 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.599/7.158, allocations: 5.406 kB / 0.83 GB, free: 8.988 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 & 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: 10.144652588758618] Failed to read output from testmodel.py, exit status != 0: 7.23590195691213 7.249742552 6.722331564 Calling exit ...