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.0008847/0.0008847, allocations: 72.47 kB / 19.14 MB, free: 0.7773 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.00109/0.00109, allocations: 162 kB / 22.43 MB, free: 2.141 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.9066/0.9066, allocations: 177.2 MB / 202.8 MB, free: 5.77 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.6879/0.6879, allocations: 155 MB / 414.2 MB, free: 68 kB / 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: 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.0008984/0.0008984, allocations: 71.88 kB / 0.6187 GB, free: 13.16 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.46/0.4609, allocations: 102 MB / 0.7183 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001576/0.4625, allocations: 0.8152 MB / 0.7191 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008655/0.4634, allocations: 0.922 MB / 0.72 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.4634, allocations: 1.188 kB / 0.72 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.6e-05/0.4635, allocations: 9.328 kB / 0.72 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.038e-05/0.4636, allocations: 16.03 kB / 0.72 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.4638, allocations: 47.45 kB / 0.7201 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.4639, allocations: 112.3 kB / 0.7202 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.464, allocations: 30.91 kB / 0.7202 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.4642, allocations: 80.62 kB / 0.7203 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.619e-05/0.4643, allocations: 47.61 kB / 0.7203 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.4643, allocations: 9.812 kB / 0.7203 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.395e-05/0.4644, allocations: 15.55 kB / 0.7204 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.18e-05/0.4644, allocations: 25.36 kB / 0.7204 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/0.4644, allocations: 38.84 kB / 0.7204 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.4646, allocations: 139.7 kB / 0.7206 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.4646, allocations: 9.062 kB / 0.7206 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4646, allocations: 0 / 0.7206 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.4646, allocations: 0.7969 kB / 0.7206 GB, free: 21.63 MB / 0.6355 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.0005037/0.4651, allocations: 367 kB / 0.7209 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.4652, allocations: 11.03 kB / 0.7209 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.829e-05/0.4652, allocations: 38.14 kB / 0.721 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.4654, allocations: 38.27 kB / 0.721 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.4657, allocations: 198.8 kB / 0.7212 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.4657, allocations: 3.594 kB / 0.7212 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.4657, allocations: 14.44 kB / 0.7212 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.4659, allocations: 116.8 kB / 0.7213 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.4659, allocations: 7.938 kB / 0.7213 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.4659, allocations: 1.156 kB / 0.7213 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.4659, allocations: 3.141 kB / 0.7213 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.4661, allocations: 75.39 kB / 0.7214 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.4664, allocations: 461.4 kB / 0.7218 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.4666, allocations: 111.2 kB / 0.7219 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.529e-05/0.4667, allocations: 55.23 kB / 0.722 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.4667, allocations: 2.906 kB / 0.722 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.4667, allocations: 38.02 kB / 0.722 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.4667, allocations: 0 / 0.722 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003778/0.4671, allocations: 163 kB / 0.7222 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.4671, allocations: 104.2 kB / 0.7223 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.18e-05/0.4672, allocations: 146.3 kB / 0.7224 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.4672, allocations: 32.62 kB / 0.7225 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.4673, allocations: 108.9 kB / 0.7226 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.4673, allocations: 30.28 kB / 0.7226 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.4673, allocations: 33.47 kB / 0.7226 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.832e-05/0.4674, allocations: 324.9 kB / 0.7229 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.405e-05/0.4675, allocations: 44.38 kB / 0.723 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.4676, allocations: 163.7 kB / 0.7231 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.4677, allocations: 86.17 kB / 0.7232 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4677, allocations: 1.188 kB / 0.7232 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002149/0.468, allocations: 144.5 kB / 0.7234 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.468, allocations: 6.594 kB / 0.7234 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.468, allocations: 1.281 kB / 0.7234 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.468, allocations: 1.156 kB / 0.7234 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.383e-05/0.4681, allocations: 23.14 kB / 0.7234 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4681, allocations: 1.062 kB / 0.7234 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.84e-05/0.4682, allocations: 28.41 kB / 0.7234 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.4682, allocations: 2.312 kB / 0.7234 GB, free: 19.3 MB / 0.6355 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 6.327e-05/0.4682, allocations: 127.3 kB / 0.7235 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.4683, allocations: 13.33 kB / 0.7236 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.4684, allocations: 88.41 kB / 0.7236 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4684, allocations: 6.5 kB / 0.7236 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4684, allocations: 1.312 kB / 0.7236 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4684, allocations: 1.031 kB / 0.7236 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.4686, allocations: 167 kB / 0.7238 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4686, allocations: 1.25 kB / 0.7238 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.597e-05/0.4687, allocations: 21.45 kB / 0.7238 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.4687, allocations: 2.281 kB / 0.7238 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.4687, allocations: 3.141 kB / 0.7238 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.4687, allocations: 5.203 kB / 0.7238 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4687, allocations: 1.219 kB / 0.7238 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.4689, allocations: 377.7 kB / 0.7242 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.4689, allocations: 13.48 kB / 0.7242 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.4689, allocations: 10.77 kB / 0.7242 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.4691, allocations: 13.62 kB / 0.7242 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.386e-05/0.4691, allocations: 25.58 kB / 0.7243 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.4691, allocations: 6.281 kB / 0.7243 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.782e-05/0.4692, allocations: 112 kB / 0.7244 GB, free: 18.51 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4692, allocations: 1.594 kB / 0.7244 GB, free: 18.51 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002067/0.4694, allocations: 14.23 kB / 0.7244 GB, free: 18.51 MB / 0.6355 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.0003319/0.4697, allocations: 0.9017 MB / 0.7253 GB, free: 17.67 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.4699, allocations: 96.3 kB / 0.7254 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4699, allocations: 7.938 kB / 0.7254 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.028e-05/0.47, allocations: 50.25 kB / 0.7254 GB, free: 17.63 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.4704, allocations: 13.55 kB / 0.7254 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.4717, allocations: 1.8 MB / 0.7272 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.078e-05/0.4717, allocations: 84.91 kB / 0.7273 GB, free: 16.05 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.947e-05/0.4718, allocations: 20.5 kB / 0.7273 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.181e-05/0.4719, allocations: 36.53 kB / 0.7273 GB, free: 16.02 MB / 0.6355 GB Notification: Performance of SimCode: time 5.82e-07/0.4719, allocations: 5.125 kB / 0.7273 GB, free: 16.01 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.4932, allocations: 3.439 MB / 0.7307 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.505/6.998, allocations: 9.047 kB / 0.7307 GB, free: 15.02 MB / 0.6355 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.673421088140458] Failed to read output from testmodel.py, exit status != 0: 7.07672349200584 7.086583497 6.619960199 Calling exit ...