Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.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.0008368/0.0008368, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.0008724/0.0008724, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.9346/0.9346, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.7227/0.7227, allocations: 154.6 MB / 413.8 MB, free: 0.8125 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.Min,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 0.6182 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.339e-05, allocations: 5.375 kB / 0.6182 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Min): time 0.001269/0.001292, allocations: 0.6917 MB / 0.6188 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007896/0.002082, allocations: 0.8276 MB / 0.6196 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.533e-05/0.002117, allocations: 0 / 0.6196 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.978e-05/0.002147, allocations: 3.938 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.757e-05/0.002214, allocations: 11.88 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001125/0.002327, allocations: 11.98 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.955e-05/0.002406, allocations: 47.89 kB / 0.6197 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.002511, allocations: 7.938 kB / 0.6197 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.068e-05/0.002592, allocations: 27.97 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.47e-05/0.002637, allocations: 15.98 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.002664, allocations: 4 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.002675, allocations: 4 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.002696, allocations: 7.938 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.334e-05/0.002719, allocations: 11.98 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.002826, allocations: 43.86 kB / 0.6198 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.002829, allocations: 0 / 0.6198 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.252e-06/0.00283, allocations: 0 / 0.6198 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.002835, allocations: 0 / 0.6198 GB, free: 11.83 MB / 0.5886 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.0004407/0.003276, allocations: 294.2 kB / 0.6201 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.003331, allocations: 8.031 kB / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.632e-05/0.003367, allocations: 34.75 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.003394, allocations: 4.891 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.734e-05/0.003491, allocations: 113.7 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.003503, allocations: 384 / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.003515, allocations: 4.375 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.003696, allocations: 70.2 kB / 0.6203 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.003704, allocations: 4.188 kB / 0.6203 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.003713, allocations: 384 / 0.6203 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.00372, allocations: 8.125 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.003869, allocations: 59.92 kB / 0.6204 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.004196, allocations: 228.1 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.004326, allocations: 58.47 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.857e-05/0.004404, allocations: 40.91 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.004428, allocations: 3.938 kB / 0.6207 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.004449, allocations: 38.56 kB / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.00445, allocations: 0 / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003495/0.004799, allocations: 133.5 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.004837, allocations: 51.41 kB / 0.6209 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.665e-05/0.004913, allocations: 105.8 kB / 0.621 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.004926, allocations: 33.64 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.004973, allocations: 92.08 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.004999, allocations: 15.81 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.005034, allocations: 17.72 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.152e-05/0.005125, allocations: 314.8 kB / 0.6215 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.69e-05/0.005212, allocations: 35.95 kB / 0.6215 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-05/0.005281, allocations: 27.97 kB / 0.6216 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.005429, allocations: 68.78 kB / 0.6216 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.005431, allocations: 0 / 0.6216 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000187/0.005618, allocations: 109.5 kB / 0.6217 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.005637, allocations: 4 kB / 0.6217 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.005645, allocations: 4 kB / 0.6217 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.005661, allocations: 0 / 0.6217 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.005776, allocations: 15.97 kB / 0.6218 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.005785, allocations: 0 / 0.6218 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.161e-05/0.005826, allocations: 11.98 kB / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.005836, allocations: 4 kB / 0.6218 GB, free: 9.66 MB / 0.5886 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 9.342e-05/0.005929, allocations: 114.8 kB / 0.6219 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.005945, allocations: 3.938 kB / 0.6219 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.006213, allocations: 105.6 kB / 0.622 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.006217, allocations: 0 / 0.622 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.006229, allocations: 7.938 kB / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.006235, allocations: 0 / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.006398, allocations: 136.7 kB / 0.6221 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.006402, allocations: 4 kB / 0.6221 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.799e-05/0.00646, allocations: 15.92 kB / 0.6221 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.006462, allocations: 0 / 0.6221 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.006475, allocations: 8 kB / 0.6221 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.006478, allocations: 0 / 0.6221 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.006479, allocations: 0 / 0.6221 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.006717, allocations: 195.4 kB / 0.6223 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.006729, allocations: 8.359 kB / 0.6223 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.006742, allocations: 0 / 0.6223 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.472e-05/0.006797, allocations: 11.98 kB / 0.6224 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.006845, allocations: 7.984 kB / 0.6224 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.00685, allocations: 0 / 0.6224 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.032e-05/0.00689, allocations: 87.28 kB / 0.6224 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00689, allocations: 3.938 kB / 0.6224 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001544/0.007045, allocations: 11.94 kB / 0.6225 GB, free: 8.875 MB / 0.5886 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.0004482/0.007493, allocations: 0.7319 MB / 0.6232 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002/0.007693, allocations: 67.92 kB / 0.6232 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.007694, allocations: 0 / 0.6232 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.326e-05/0.007768, allocations: 47.83 kB / 0.6233 GB, free: 8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.008037, allocations: 4 kB / 0.6233 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003732/0.00841, allocations: 150.6 kB / 0.6234 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.903e-05/0.008459, allocations: 67.28 kB / 0.6235 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.592e-05/0.008485, allocations: 4 kB / 0.6235 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.008526, allocations: 16.5 kB / 0.6235 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/0.008526, allocations: 0 / 0.6235 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.02589, allocations: 2.311 MB / 0.6258 GB, free: 5.539 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.92/6.946, allocations: 9.953 kB / 0.6258 GB, free: 5.535 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Min_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_Min.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.79149550292641] Failed to read output from testmodel.py, exit status != 0: 7.029218649491668 7.043485093 7.038875988 Calling exit ...