Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.0008943/0.0008943, allocations: 105.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.000889/0.000889, allocations: 210.6 kB / 22.25 MB, free: 3.578 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.9446/0.9446, allocations: 230.6 MB / 256 MB, free: 9.609 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.8087/0.8087, allocations: 203.5 MB / 0.5039 GB, free: 10.71 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.Add,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Add",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.001087/0.001087, allocations: 66.45 kB / 0.7178 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5378/0.5389, allocations: 102 MB / 0.8174 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001492/0.5404, allocations: 0.6905 MB / 0.8181 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006351/0.541, allocations: 0.8251 MB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.64e-05/0.541, allocations: 0 / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.5411, allocations: 0.75 kB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.882e-05/0.5411, allocations: 16.36 kB / 0.8189 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.609e-05/0.5412, allocations: 12.12 kB / 0.8189 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.168e-05/0.5413, allocations: 39.77 kB / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.5414, allocations: 11.94 kB / 0.819 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.971e-05/0.5414, allocations: 18.42 kB / 0.819 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.834e-05/0.5415, allocations: 17.98 kB / 0.819 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.5415, allocations: 3.375 kB / 0.819 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.635e-06/0.5415, allocations: 3.75 kB / 0.819 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.171e-05/0.5415, allocations: 11.66 kB / 0.819 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.694e-05/0.5416, allocations: 13 kB / 0.819 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.5417, allocations: 52 kB / 0.8191 GB, free: 80 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.5417, allocations: 0 / 0.8191 GB, free: 80 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.614e-06/0.5417, allocations: 0 / 0.8191 GB, free: 80 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.5417, allocations: 1.406 kB / 0.8191 GB, free: 80 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004803/0.5422, allocations: 290.6 kB / 0.8194 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.5422, allocations: 8.906 kB / 0.8194 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.578e-05/0.5423, allocations: 33.05 kB / 0.8194 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/0.5423, allocations: 7.359 kB / 0.8194 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.396e-05/0.5424, allocations: 107 kB / 0.8195 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.5424, allocations: 12.83 kB / 0.8195 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.5424, allocations: 384 / 0.8195 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.5426, allocations: 70.81 kB / 0.8196 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.5426, allocations: 5.578 kB / 0.8196 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.5426, allocations: 1.438 kB / 0.8196 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5426, allocations: 0 / 0.8196 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.5428, allocations: 69.2 kB / 0.8197 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.5431, allocations: 232.7 kB / 0.8199 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.5433, allocations: 55.7 kB / 0.8199 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.146e-05/0.5434, allocations: 39.89 kB / 0.82 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.5434, allocations: 3.984 kB / 0.82 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.5434, allocations: 39.09 kB / 0.82 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.5434, allocations: 7.938 kB / 0.82 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003663/0.5438, allocations: 124.4 kB / 0.8202 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.5438, allocations: 55.09 kB / 0.8202 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.074e-05/0.5439, allocations: 112.1 kB / 0.8203 GB, free: 15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.5439, allocations: 25.7 kB / 0.8203 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.544, allocations: 89.3 kB / 0.8204 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.544, allocations: 14.83 kB / 0.8204 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.544, allocations: 12.55 kB / 0.8204 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.5441, allocations: 320.3 kB / 0.8208 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.349e-05/0.5442, allocations: 29.16 kB / 0.8208 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.533e-05/0.5443, allocations: 30.86 kB / 0.8208 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.5445, allocations: 81.52 kB / 0.8209 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5445, allocations: 0 / 0.8209 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001972/0.5447, allocations: 92.66 kB / 0.821 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.5447, allocations: 5.031 kB / 0.821 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.5447, allocations: 0 / 0.821 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.5447, allocations: 0.75 kB / 0.821 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.468e-05/0.5448, allocations: 20.19 kB / 0.821 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.5448, allocations: 0.875 kB / 0.821 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.391e-05/0.5448, allocations: 10.67 kB / 0.821 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.5448, allocations: 2.312 kB / 0.821 GB, free: 14.46 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.448e-05/0.5449, allocations: 115.9 kB / 0.8211 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.5449, allocations: 10.42 kB / 0.8211 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/0.5449, allocations: 5.969 kB / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.545, allocations: 0 / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.545, allocations: 2.125 kB / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.545, allocations: 4.609 kB / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.5451, allocations: 137.1 kB / 0.8213 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.5451, allocations: 0 / 0.8213 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.967e-05/0.5451, allocations: 15.53 kB / 0.8213 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.5451, allocations: 0 / 0.8213 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.5451, allocations: 1.844 kB / 0.8213 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.5452, allocations: 0 / 0.8213 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.5452, allocations: 4.547 kB / 0.8213 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.5454, allocations: 202.6 kB / 0.8215 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.5454, allocations: 11.38 kB / 0.8215 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.5454, allocations: 0 / 0.8215 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.884e-05/0.5455, allocations: 12.47 kB / 0.8215 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.5455, allocations: 7.562 kB / 0.8215 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.5455, allocations: 5.531 kB / 0.8215 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.762e-05/0.5456, allocations: 84.48 kB / 0.8216 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5456, allocations: 0 / 0.8216 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001445/0.5457, allocations: 19.09 kB / 0.8216 GB, free: 13.9 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000907/0.5466, allocations: 0.7261 MB / 0.8223 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.5469, allocations: 74.08 kB / 0.8224 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5469, allocations: 0 / 0.8224 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.417e-05/0.5469, allocations: 34.86 kB / 0.8224 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.5472, allocations: 5.562 kB / 0.8224 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004211/0.5476, allocations: 163.8 kB / 0.8226 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.749e-05/0.5477, allocations: 65.17 kB / 0.8227 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.808e-05/0.5477, allocations: 5.125 kB / 0.8227 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.711e-05/0.5478, allocations: 15.19 kB / 0.8227 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/0.5478, allocations: 0 / 0.8227 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01528/0.563, allocations: 2.175 MB / 0.8248 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.631/7.194, allocations: 4.109 kB / 0.8248 GB, free: 12.09 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add_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_Add.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.27038052631542] Failed to read output from testmodel.py, exit status != 0: 7.274798012338579 7.290379528 6.746632238 Calling exit ...