Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.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.001162/0.001162, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.001769/0.001769, allocations: 209.2 kB / 22.24 MB, free: 3.715 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.9772/0.9772, allocations: 230.6 MB / 256 MB, free: 9.602 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.7796/0.7796, 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.Max,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Max",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.0009795/0.0009795, allocations: 71.14 kB / 0.7178 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4749/0.4759, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.00135/0.4772, allocations: 0.6878 MB / 0.8181 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005885/0.4778, allocations: 0.8258 MB / 0.8189 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.074e-05/0.4779, allocations: 0 / 0.8189 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.923e-05/0.4779, allocations: 0.6094 kB / 0.8189 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.804e-05/0.4779, allocations: 18.36 kB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 9.925e-05/0.478, allocations: 15.86 kB / 0.8189 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.069e-05/0.4781, allocations: 37.84 kB / 0.819 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.734e-05/0.4782, allocations: 12.27 kB / 0.819 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.27e-05/0.4783, allocations: 15.83 kB / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.603e-05/0.4783, allocations: 17.27 kB / 0.819 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.4783, allocations: 4.938 kB / 0.819 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.809e-06/0.4783, allocations: 2.219 kB / 0.819 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.4784, allocations: 11.34 kB / 0.819 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.547e-05/0.4784, allocations: 17.75 kB / 0.819 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.43e-05/0.4785, allocations: 48.86 kB / 0.8191 GB, free: 96 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4785, allocations: 4 kB / 0.8191 GB, free: 92 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4785, allocations: 3.938 kB / 0.8191 GB, free: 88 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.4785, allocations: 0 / 0.8191 GB, free: 88 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.0004148/0.4789, allocations: 287.7 kB / 0.8194 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4789, allocations: 8.844 kB / 0.8194 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.137e-05/0.479, allocations: 36.86 kB / 0.8194 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.252e-05/0.479, allocations: 7.703 kB / 0.8194 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.941e-05/0.4791, allocations: 106.2 kB / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.4791, allocations: 2.594 kB / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.4791, allocations: 6.594 kB / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.4793, allocations: 67.61 kB / 0.8196 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.4793, allocations: 3.938 kB / 0.8196 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.4793, allocations: 6.781 kB / 0.8196 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.4793, allocations: 0 / 0.8196 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.4795, allocations: 69.98 kB / 0.8197 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.4798, allocations: 237.6 kB / 0.8199 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.4799, allocations: 49.78 kB / 0.82 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.368e-05/0.48, allocations: 37 kB / 0.82 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.48, allocations: 0 / 0.82 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.48, allocations: 37.67 kB / 0.82 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.48, allocations: 0 / 0.82 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003131/0.4803, allocations: 128.5 kB / 0.8201 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.4804, allocations: 55.41 kB / 0.8202 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.043e-05/0.4804, allocations: 108.7 kB / 0.8203 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.4804, allocations: 25.7 kB / 0.8203 GB, free: 15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.511e-05/0.4805, allocations: 94.23 kB / 0.8204 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.4805, allocations: 12.45 kB / 0.8204 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.4805, allocations: 18.2 kB / 0.8204 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.578e-05/0.4806, allocations: 316.6 kB / 0.8208 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.547e-05/0.4807, allocations: 31.2 kB / 0.8208 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.016e-05/0.4807, allocations: 38.48 kB / 0.8208 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.4809, allocations: 75.7 kB / 0.8209 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.4809, allocations: 0 / 0.8209 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001656/0.481, allocations: 100.1 kB / 0.821 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.4811, allocations: 3.312 kB / 0.821 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.4811, allocations: 0.875 kB / 0.821 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.4811, allocations: 3.375 kB / 0.821 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.857e-05/0.4812, allocations: 18.8 kB / 0.821 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.4812, allocations: 0.7031 kB / 0.821 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.829e-05/0.4812, allocations: 11.55 kB / 0.821 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.4812, allocations: 4.547 kB / 0.821 GB, free: 14.47 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 5.678e-05/0.4813, allocations: 121.6 kB / 0.8211 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.4813, allocations: 3.953 kB / 0.8211 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.4815, allocations: 114 kB / 0.8213 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.4815, allocations: 2.25 kB / 0.8213 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4815, allocations: 0 / 0.8213 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4815, allocations: 0.5625 kB / 0.8213 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.4816, allocations: 132.5 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4816, allocations: 4.547 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.913e-05/0.4817, allocations: 15.89 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4817, allocations: 3.688 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.4817, allocations: 0.7969 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.4817, allocations: 0 / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4817, allocations: 4 kB / 0.8214 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.4819, allocations: 207.8 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-06/0.4819, allocations: 0 / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.4819, allocations: 1.562 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.908e-05/0.482, allocations: 10.36 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.482, allocations: 10.94 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.482, allocations: 4 kB / 0.8216 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.731e-05/0.482, allocations: 86.16 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.482, allocations: 0 / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001406/0.4822, allocations: 5.844 kB / 0.8217 GB, free: 13.88 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.0003695/0.4825, allocations: 0.7275 MB / 0.8224 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001982/0.4827, allocations: 71.45 kB / 0.8225 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4827, allocations: 0 / 0.8225 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.479e-05/0.4828, allocations: 33.33 kB / 0.8225 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.483, allocations: 5.625 kB / 0.8225 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.4834, allocations: 168 kB / 0.8227 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.055e-05/0.4834, allocations: 70.73 kB / 0.8228 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.125e-05/0.4834, allocations: 3.984 kB / 0.8228 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.4835, allocations: 15.23 kB / 0.8228 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of SimCode: time 2.91e-07/0.4835, allocations: 0 / 0.8228 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01486/0.4983, allocations: 2.182 MB / 0.8249 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.699/7.197, allocations: 6.016 kB / 0.8249 GB, free: 12.05 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max_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_Max.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.202411694917828] Failed to read output from testmodel.py, exit status != 0: 7.2777226329781115 7.290484626 6.8097711069999995 Calling exit ...