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.0008809/0.0008809, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009179/0.0009179, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9848/0.9848, allocations: 230.6 MB / 256 MB, free: 9.801 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.8195/0.8195, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.001085/0.001085, allocations: 66.45 kB / 0.7183 GB, free: 4.301 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5461/0.5472, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001593/0.5488, allocations: 0.842 MB / 0.8187 GB, free: 0.707 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008287/0.5496, allocations: 0.9288 MB / 0.8196 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.463e-05/0.5497, allocations: 0 / 0.8196 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.5497, allocations: 13.12 kB / 0.8197 GB, free: 0 / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.5498, allocations: 16.19 kB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.5501, allocations: 48.08 kB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.5502, allocations: 122.6 kB / 0.8198 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.5503, allocations: 24.34 kB / 0.8199 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.5505, allocations: 64.66 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.665e-05/0.5506, allocations: 56.73 kB / 0.82 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.5506, allocations: 8.281 kB / 0.82 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.256e-05/0.5506, allocations: 13.16 kB / 0.82 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.5507, allocations: 27.36 kB / 0.82 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.523e-05/0.5507, allocations: 48.62 kB / 0.8201 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.5509, allocations: 123 kB / 0.8202 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5509, allocations: 0 / 0.8202 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.335e-06/0.5509, allocations: 3.719 kB / 0.8202 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.5509, allocations: 0 / 0.8202 GB, free: 15.73 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.0005194/0.5514, allocations: 371.7 kB / 0.8205 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.5515, allocations: 9.781 kB / 0.8205 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.788e-05/0.5515, allocations: 43.36 kB / 0.8206 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.5517, allocations: 32.83 kB / 0.8206 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.552, allocations: 200.5 kB / 0.8208 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.552, allocations: 4.469 kB / 0.8208 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.5521, allocations: 14.3 kB / 0.8208 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.5523, allocations: 119 kB / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.5523, allocations: 4 kB / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.5523, allocations: 3.234 kB / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.5523, allocations: 0 / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.5525, allocations: 76.88 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005276/0.553, allocations: 478.1 kB / 0.8215 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.5532, allocations: 105.2 kB / 0.8216 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.369e-05/0.5533, allocations: 55.84 kB / 0.8216 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.5533, allocations: 2.734 kB / 0.8216 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.5533, allocations: 36.95 kB / 0.8217 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.5533, allocations: 0 / 0.8217 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003752/0.5537, allocations: 162 kB / 0.8218 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.5538, allocations: 107.2 kB / 0.8219 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.5539, allocations: 145.5 kB / 0.8221 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.5539, allocations: 33.2 kB / 0.8221 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.5539, allocations: 104.4 kB / 0.8222 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.554, allocations: 31.75 kB / 0.8222 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.554, allocations: 22.88 kB / 0.8222 GB, free: 14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.131e-05/0.5541, allocations: 332.2 kB / 0.8226 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.775e-05/0.5542, allocations: 40.2 kB / 0.8226 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.5543, allocations: 88.62 kB / 0.8227 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.5545, allocations: 90.64 kB / 0.8228 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.5545, allocations: 0 / 0.8228 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002224/0.5547, allocations: 148.7 kB / 0.8229 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.5547, allocations: 6.828 kB / 0.8229 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.5547, allocations: 336 / 0.8229 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.5547, allocations: 1.094 kB / 0.8229 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.5548, allocations: 24.72 kB / 0.8229 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.5548, allocations: 0 / 0.8229 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.505e-05/0.5549, allocations: 19.83 kB / 0.823 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.5549, allocations: 6.984 kB / 0.823 GB, free: 13.48 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.526e-05/0.555, allocations: 130.1 kB / 0.8231 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.555, allocations: 13.98 kB / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.5552, allocations: 87.48 kB / 0.8232 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.5552, allocations: 4.469 kB / 0.8232 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5552, allocations: 4.062 kB / 0.8232 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.5552, allocations: 0 / 0.8232 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.5555, allocations: 184 kB / 0.8234 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5555, allocations: 0 / 0.8234 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.479e-05/0.5555, allocations: 18.86 kB / 0.8234 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.5555, allocations: 0 / 0.8234 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.5555, allocations: 6.156 kB / 0.8234 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5555, allocations: 0 / 0.8234 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.5555, allocations: 0 / 0.8234 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.5558, allocations: 372.5 kB / 0.8238 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.5558, allocations: 11.97 kB / 0.8238 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.5558, allocations: 9.641 kB / 0.8238 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.5559, allocations: 10.56 kB / 0.8238 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.556, allocations: 30.45 kB / 0.8238 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.556, allocations: 5.812 kB / 0.8238 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.068e-05/0.5561, allocations: 113.2 kB / 0.8239 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5561, allocations: 0 / 0.8239 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002157/0.5563, allocations: 17.62 kB / 0.8239 GB, free: 12.68 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.000489/0.5568, allocations: 0.9096 MB / 0.8248 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002423/0.557, allocations: 101.6 kB / 0.8249 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.557, allocations: 0 / 0.8249 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.93e-05/0.5571, allocations: 51.38 kB / 0.825 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.5575, allocations: 15.23 kB / 0.825 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.559, allocations: 1.796 MB / 0.8267 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.5592, allocations: 0.7071 MB / 0.8274 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.86e-05/0.5593, allocations: 20.25 kB / 0.8275 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.5594, allocations: 32 kB / 0.8275 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of SimCode: time 1.293e-06/0.5594, allocations: 0 / 0.8275 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01886/0.5783, allocations: 2.855 MB / 0.8303 GB, free: 9.047 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.688/7.266, allocations: 6.328 kB / 0.8303 GB, free: 9.047 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.416327999904752] Failed to read output from testmodel.py, exit status != 0: 7.3454989430028945 7.362579141 6.809592802 Calling exit ...