Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001332/0.001332, allocations: 71.75 kB / 19.02 MB, free: 1.23 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.00144/0.00144, allocations: 157.3 kB / 22.28 MB, free: 3.617 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 1.394/1.394, allocations: 177.2 MB / 202.7 MB, free: 4.793 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.198/1.198, allocations: 154.7 MB / 413.8 MB, free: 3.152 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="IDEAS_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.002081/0.002081, allocations: 62.69 kB / 0.6181 GB, free: 1.012 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.1942/0.1962, allocations: 102 MB / 0.7177 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002272/0.1985, allocations: 0.8067 MB / 0.7185 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1998, allocations: 0.9133 MB / 0.7194 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.792e-05/0.1999, allocations: 0 / 0.7194 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.357e-05/0.1999, allocations: 7.875 kB / 0.7194 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.2, allocations: 23.73 kB / 0.7194 GB, free: 9.391 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.2003, allocations: 47.94 kB / 0.7195 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.2005, allocations: 115.6 kB / 0.7196 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.2006, allocations: 25.27 kB / 0.7196 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.2008, allocations: 71.81 kB / 0.7197 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.2009, allocations: 59.69 kB / 0.7197 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.667e-05/0.2009, allocations: 8 kB / 0.7197 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.866e-05/0.201, allocations: 12 kB / 0.7197 GB, free: 9.059 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.417e-05/0.201, allocations: 27.91 kB / 0.7198 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.859e-05/0.2011, allocations: 47.72 kB / 0.7198 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.2013, allocations: 123.5 kB / 0.7199 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2013, allocations: 4 kB / 0.7199 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2013, allocations: 0 / 0.7199 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.2013, allocations: 0 / 0.7199 GB, free: 8.859 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.0007505/0.202, allocations: 373.7 kB / 0.7203 GB, free: 8.461 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2021, allocations: 8.031 kB / 0.7203 GB, free: 8.453 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.614e-05/0.2021, allocations: 38.69 kB / 0.7203 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000249/0.2024, allocations: 40.81 kB / 0.7204 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/0.2029, allocations: 194.9 kB / 0.7206 GB, free: 8.152 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.2029, allocations: 12.36 kB / 0.7206 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.203, allocations: 8.375 kB / 0.7206 GB, free: 8.133 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.2032, allocations: 124.4 kB / 0.7207 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2033, allocations: 0 / 0.7207 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.2033, allocations: 8 kB / 0.7207 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.2033, allocations: 4 kB / 0.7207 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.2036, allocations: 75.86 kB / 0.7208 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007303/0.2043, allocations: 460.1 kB / 0.7212 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.2046, allocations: 115.8 kB / 0.7213 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.2047, allocations: 46.61 kB / 0.7214 GB, free: 7.215 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/0.2048, allocations: 4 kB / 0.7214 GB, free: 7.211 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.2048, allocations: 34.56 kB / 0.7214 GB, free: 7.168 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.2048, allocations: 0 / 0.7214 GB, free: 7.168 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0006231/0.2054, allocations: 165.5 kB / 0.7216 GB, free: 7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.2055, allocations: 102.8 kB / 0.7217 GB, free: 6.875 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.2056, allocations: 153.8 kB / 0.7218 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.2057, allocations: 29.7 kB / 0.7218 GB, free: 6.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.2058, allocations: 112.4 kB / 0.722 GB, free: 6.562 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.2059, allocations: 23.78 kB / 0.722 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/0.2059, allocations: 29.72 kB / 0.722 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2061, allocations: 322.8 kB / 0.7223 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.2063, allocations: 44.12 kB / 0.7224 GB, free: 6.137 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.2065, allocations: 158.2 kB / 0.7225 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.2068, allocations: 94.44 kB / 0.7226 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2068, allocations: 0 / 0.7226 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003944/0.2072, allocations: 145.8 kB / 0.7227 GB, free: 5.695 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2072, allocations: 7.938 kB / 0.7227 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.2072, allocations: 0 / 0.7227 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2072, allocations: 4.047 kB / 0.7227 GB, free: 5.684 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.2074, allocations: 23.95 kB / 0.7228 GB, free: 5.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.2074, allocations: 3.938 kB / 0.7228 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.2075, allocations: 15.98 kB / 0.7228 GB, free: 5.641 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.2075, allocations: 12 kB / 0.7228 GB, free: 5.629 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 0.0001291/0.2077, allocations: 117.8 kB / 0.7229 GB, free: 5.504 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.596e-05/0.2077, allocations: 15.91 kB / 0.7229 GB, free: 5.488 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.208, allocations: 85.98 kB / 0.723 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.208, allocations: 4 kB / 0.723 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.208, allocations: 0 / 0.723 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.208, allocations: 7.984 kB / 0.723 GB, free: 5.383 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003209/0.2084, allocations: 164.6 kB / 0.7232 GB, free: 5.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2084, allocations: 4 kB / 0.7232 GB, free: 5.176 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.2085, allocations: 23.97 kB / 0.7232 GB, free: 5.152 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2085, allocations: 0 / 0.7232 GB, free: 5.152 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.2085, allocations: 4 kB / 0.7232 GB, free: 5.148 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2085, allocations: 7.938 kB / 0.7232 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2085, allocations: 0 / 0.7232 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004994/0.209, allocations: 377.9 kB / 0.7236 GB, free: 4.754 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.162e-05/0.209, allocations: 15.89 kB / 0.7236 GB, free: 4.738 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.209, allocations: 0 / 0.7236 GB, free: 4.738 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.2093, allocations: 15.98 kB / 0.7236 GB, free: 4.723 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.377e-05/0.2093, allocations: 23.95 kB / 0.7236 GB, free: 4.699 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.2093, allocations: 11.92 kB / 0.7236 GB, free: 4.688 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.581e-05/0.2094, allocations: 108.1 kB / 0.7237 GB, free: 4.582 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.2094, allocations: 0 / 0.7237 GB, free: 4.582 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003453/0.2098, allocations: 16 kB / 0.7238 GB, free: 4.566 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.0008476/0.2106, allocations: 0.8984 MB / 0.7246 GB, free: 3.641 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003822/0.211, allocations: 91.86 kB / 0.7247 GB, free: 3.551 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.211, allocations: 0 / 0.7247 GB, free: 3.551 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.2112, allocations: 55.89 kB / 0.7248 GB, free: 3.496 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005377/0.2117, allocations: 19.94 kB / 0.7248 GB, free: 3.477 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.2142, allocations: 1.805 MB / 0.7266 GB, free: 1.566 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.739e-05/0.2143, allocations: 84.31 kB / 0.7266 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.105e-05/0.2144, allocations: 20.75 kB / 0.7267 GB, free: 1.445 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.506e-05/0.2145, allocations: 36.48 kB / 0.7267 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of SimCode: time 6.52e-07/0.2145, allocations: 0 / 0.7267 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03167/0.2462, allocations: 3.428 MB / 0.73 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.45, allocations: 10.56 kB / 0.73 GB, free: 14.1 MB / 0.6355 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.392053242001566] Failed to read output from testmodel.py, exit status != 0: 11.557790242994088 11.585166341 11.380266948 Calling exit ...