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.0009217/0.0009217, 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.001121/0.001121, 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.937/0.937, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] 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 0.806/0.806, allocations: 203.5 MB / 0.5038 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 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.001637/0.001637, allocations: 71.11 kB / 0.7178 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5266/0.5282, allocations: 102 MB / 0.8174 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001634/0.5299, allocations: 0.8095 MB / 0.8182 GB, free: 0.7266 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009089/0.5308, allocations: 0.9163 MB / 0.8191 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/0.5308, allocations: 3.938 kB / 0.8191 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.49e-05/0.5309, allocations: 12.95 kB / 0.8191 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.691e-05/0.5309, allocations: 19.75 kB / 0.8191 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.5312, allocations: 46.06 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.5313, allocations: 114.8 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.5315, allocations: 27.2 kB / 0.8193 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.5316, allocations: 56.98 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.662e-05/0.5317, allocations: 51.33 kB / 0.8194 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.5317, allocations: 8.938 kB / 0.8194 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.945e-05/0.5318, allocations: 17.83 kB / 0.8194 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.499e-05/0.5318, allocations: 27 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.5318, allocations: 41.58 kB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.532, allocations: 119.2 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.532, allocations: 0.5156 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.532, allocations: 0 / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.532, allocations: 0 / 0.8196 GB, free: 15.78 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.0005661/0.5326, allocations: 369 kB / 0.82 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.5326, allocations: 12.19 kB / 0.82 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.818e-05/0.5327, allocations: 38.19 kB / 0.82 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.5329, allocations: 34.89 kB / 0.8201 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.5332, allocations: 205.7 kB / 0.8203 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.5332, allocations: 8.406 kB / 0.8203 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.5332, allocations: 6.141 kB / 0.8203 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.5335, allocations: 128.2 kB / 0.8204 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.5335, allocations: 3.938 kB / 0.8204 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.5335, allocations: 9.188 kB / 0.8204 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.5335, allocations: 1.531 kB / 0.8204 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.5337, allocations: 68.61 kB / 0.8205 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005786/0.5343, allocations: 469.1 kB / 0.8209 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.5344, allocations: 107.1 kB / 0.821 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.045e-05/0.5345, allocations: 53.67 kB / 0.8211 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.5346, allocations: 2.5 kB / 0.8211 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.5346, allocations: 40.97 kB / 0.8211 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.014e-06/0.5346, allocations: 4 kB / 0.8211 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003644/0.5349, allocations: 153.9 kB / 0.8213 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.535, allocations: 105.4 kB / 0.8214 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.839e-05/0.5351, allocations: 146.5 kB / 0.8215 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.5351, allocations: 27.36 kB / 0.8215 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.5352, allocations: 111.6 kB / 0.8216 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.5352, allocations: 29.17 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.5352, allocations: 25.64 kB / 0.8217 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.394e-05/0.5353, allocations: 336.3 kB / 0.822 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-05/0.5354, allocations: 41.66 kB / 0.8221 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.5355, allocations: 160 kB / 0.8222 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.5357, allocations: 97.08 kB / 0.8223 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5357, allocations: 0 / 0.8223 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002097/0.5359, allocations: 141.4 kB / 0.8224 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.5359, allocations: 6.172 kB / 0.8224 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.5359, allocations: 48 / 0.8224 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.5359, allocations: 7.891 kB / 0.8224 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.288e-05/0.536, allocations: 25.88 kB / 0.8225 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.536, allocations: 0 / 0.8225 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.594e-05/0.5361, allocations: 22.22 kB / 0.8225 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.5361, allocations: 0.7969 kB / 0.8225 GB, free: 13.44 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 7.788e-05/0.5362, allocations: 126.9 kB / 0.8226 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.5362, allocations: 11.97 kB / 0.8226 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.5364, allocations: 88.42 kB / 0.8227 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-06/0.5364, allocations: 8.016 kB / 0.8227 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5364, allocations: 0 / 0.8227 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.5364, allocations: 3.75 kB / 0.8227 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.5366, allocations: 163.5 kB / 0.8229 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5366, allocations: 1.969 kB / 0.8229 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.967e-05/0.5367, allocations: 18.58 kB / 0.8229 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.5367, allocations: 1.375 kB / 0.8229 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.5367, allocations: 3.078 kB / 0.8229 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.5367, allocations: 1.219 kB / 0.8229 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5367, allocations: 5.375 kB / 0.8229 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004674/0.5372, allocations: 382.1 kB / 0.8233 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.443e-05/0.5372, allocations: 11.81 kB / 0.8233 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.5372, allocations: 3.391 kB / 0.8233 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.5373, allocations: 13.69 kB / 0.8233 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.26e-05/0.5374, allocations: 32.06 kB / 0.8233 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.5374, allocations: 8.5 kB / 0.8233 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.516e-05/0.5375, allocations: 117.2 kB / 0.8234 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5375, allocations: 0 / 0.8234 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002159/0.5377, allocations: 18.06 kB / 0.8235 GB, free: 12.64 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.0004702/0.5382, allocations: 0.8989 MB / 0.8243 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002295/0.5384, allocations: 99.81 kB / 0.8244 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5384, allocations: 1.438 kB / 0.8244 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.009e-05/0.5385, allocations: 49.2 kB / 0.8245 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.5388, allocations: 13.88 kB / 0.8245 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.5404, allocations: 1.802 MB / 0.8263 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.485e-05/0.5404, allocations: 88.72 kB / 0.8263 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.341e-05/0.5405, allocations: 20.03 kB / 0.8264 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.047e-05/0.5406, allocations: 40.83 kB / 0.8264 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of SimCode: time 9.02e-07/0.5406, allocations: 0 / 0.8264 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.5632, allocations: 3.298 MB / 0.8296 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.77/7.334, allocations: 12.09 kB / 0.8296 GB, free: 9.195 MB / 0.6198 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_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_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: 10.350471268873662] Failed to read output from testmodel.py, exit status != 0: 7.410880456212908 7.422064983 6.887658694 Calling exit ...