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.0008059/0.0008059, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001337/0.001337, allocations: 207.6 kB / 22.25 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.9469/0.9469, allocations: 230.6 MB / 256 MB, free: 9.598 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.7996/0.7996, allocations: 203.5 MB / 0.5039 GB, free: 10.69 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.0008944/0.0008944, allocations: 70.48 kB / 0.7178 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5547/0.5556, allocations: 102 MB / 0.8174 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.002321/0.5579, allocations: 0.6864 MB / 0.8181 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008624/0.5588, allocations: 0.8416 MB / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.151e-05/0.5588, allocations: 0 / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.221e-05/0.5589, allocations: 0.75 kB / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.601e-05/0.5589, allocations: 12.22 kB / 0.8189 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001279/0.5591, allocations: 8.172 kB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.5592, allocations: 43.42 kB / 0.819 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.5593, allocations: 4.469 kB / 0.819 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.844e-05/0.5594, allocations: 24.78 kB / 0.819 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.635e-05/0.5595, allocations: 16.86 kB / 0.819 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.5595, allocations: 6.438 kB / 0.819 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.5595, allocations: 8.594 kB / 0.819 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.5595, allocations: 13.7 kB / 0.819 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.5596, allocations: 13.97 kB / 0.8191 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.5597, allocations: 45.89 kB / 0.8191 GB, free: 96 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.5597, allocations: 0 / 0.8191 GB, free: 96 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.505e-06/0.5597, allocations: 0 / 0.8191 GB, free: 96 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.5597, allocations: 0 / 0.8191 GB, free: 96 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.0004275/0.5601, allocations: 292.7 kB / 0.8194 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.5601, allocations: 14.12 kB / 0.8194 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.208e-05/0.5602, allocations: 31.69 kB / 0.8194 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.5602, allocations: 8.047 kB / 0.8194 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.997e-05/0.5603, allocations: 105.3 kB / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.5603, allocations: 1.75 kB / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.5603, allocations: 6.531 kB / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.5605, allocations: 66.42 kB / 0.8196 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.5605, allocations: 3.938 kB / 0.8196 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.5605, allocations: 4 kB / 0.8196 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.5605, allocations: 4.609 kB / 0.8196 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.5607, allocations: 66.94 kB / 0.8197 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.561, allocations: 238.1 kB / 0.8199 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.5611, allocations: 52.52 kB / 0.82 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.036e-05/0.5612, allocations: 40.66 kB / 0.82 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.5612, allocations: 3 kB / 0.82 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.5613, allocations: 35.25 kB / 0.82 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.5613, allocations: 0 / 0.82 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000334/0.5616, allocations: 127.5 kB / 0.8202 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.5616, allocations: 59.11 kB / 0.8202 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.23e-05/0.5617, allocations: 110 kB / 0.8203 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.5617, allocations: 25.7 kB / 0.8203 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.5617, allocations: 92.91 kB / 0.8204 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.5618, allocations: 8.562 kB / 0.8204 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.5618, allocations: 17.02 kB / 0.8204 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.236e-05/0.5619, allocations: 317.2 kB / 0.8208 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.69e-05/0.562, allocations: 28.33 kB / 0.8208 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.539e-05/0.562, allocations: 40.05 kB / 0.8208 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.5622, allocations: 76.58 kB / 0.8209 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5622, allocations: 0 / 0.8209 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001857/0.5624, allocations: 96.89 kB / 0.821 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.5624, allocations: 5.438 kB / 0.821 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.5624, allocations: 0.75 kB / 0.821 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.5624, allocations: 2.062 kB / 0.821 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.669e-05/0.5625, allocations: 19.02 kB / 0.821 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.5625, allocations: 3.938 kB / 0.821 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.08e-05/0.5626, allocations: 12.02 kB / 0.821 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.5626, allocations: 0.5156 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 6.946e-05/0.5626, allocations: 122.4 kB / 0.8211 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.5627, allocations: 9.797 kB / 0.8212 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002609/0.5629, allocations: 104.6 kB / 0.8213 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5629, allocations: 1.25 kB / 0.8213 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.5629, allocations: 0 / 0.8213 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.5629, allocations: 1.031 kB / 0.8213 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.5631, allocations: 138 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.5631, allocations: 4.562 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.631e-05/0.5631, allocations: 15.33 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5631, allocations: 0 / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.5631, allocations: 0.5 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.5631, allocations: 2.297 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5631, allocations: 0 / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.5634, allocations: 206.8 kB / 0.8216 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-06/0.5634, allocations: 4 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.5634, allocations: 3.609 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.419e-05/0.5635, allocations: 9.547 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.5635, allocations: 9.406 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.5635, allocations: 0.6094 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.707e-05/0.5636, allocations: 87.59 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5636, allocations: 0 / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001501/0.5637, allocations: 6.406 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.0004843/0.5642, allocations: 0.7316 MB / 0.8224 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002263/0.5644, allocations: 67.06 kB / 0.8225 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5644, allocations: 0 / 0.8225 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.107e-05/0.5645, allocations: 37 kB / 0.8225 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.5648, allocations: 9.969 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.0004237/0.5652, allocations: 166 kB / 0.8227 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.019e-05/0.5653, allocations: 65.94 kB / 0.8228 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.905e-05/0.5653, allocations: 2.672 kB / 0.8228 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/0.5653, allocations: 17.52 kB / 0.8228 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of SimCode: time 6.62e-07/0.5653, allocations: 4 kB / 0.8228 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.5872, allocations: 2.184 MB / 0.8249 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.999/7.586, allocations: 4.172 kB / 0.8249 GB, free: 12.05 MB / 0.6198 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.604444057215005] Failed to read output from testmodel.py, exit status != 0: 7.664616669062525 7.683834652 7.120745891 Calling exit ...