Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.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.0009279/0.0009279, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001083/0.001083, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9191/0.9191, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.737/0.737, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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.MultiMax,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.991e-05, allocations: 5.094 kB / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001188/0.001207, allocations: 0.6485 MB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001337/0.001341, allocations: 7.922 kB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.001382, allocations: 0 / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.409e-05/0.001476, allocations: 4 kB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.728e-05/0.001514, allocations: 4 kB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 6.715e-05/0.001581, allocations: 3.938 kB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.172e-05/0.001662, allocations: 39.83 kB / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.001783, allocations: 12 kB / 0.6189 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.475e-05/0.001818, allocations: 23.98 kB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.798e-05/0.001856, allocations: 7.984 kB / 0.6189 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.001877, allocations: 4 kB / 0.6189 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.062e-05/0.001887, allocations: 4 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.973e-05/0.001917, allocations: 11.92 kB / 0.6189 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.001946, allocations: 19.92 kB / 0.6189 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.849e-05/0.002034, allocations: 43.86 kB / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.002036, allocations: 3.938 kB / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.123e-06/0.002037, allocations: 0 / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.002041, allocations: 0 / 0.619 GB, free: 12.77 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002615/0.002302, allocations: 270.2 kB / 0.6192 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.002342, allocations: 16.03 kB / 0.6193 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.297e-05/0.002375, allocations: 38.73 kB / 0.6193 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.173e-05/0.002397, allocations: 8.891 kB / 0.6193 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.002522, allocations: 117.7 kB / 0.6194 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.002534, allocations: 8.375 kB / 0.6194 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.002543, allocations: 384 / 0.6194 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.002674, allocations: 81.39 kB / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.002681, allocations: 192 / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.002693, allocations: 4.375 kB / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.002699, allocations: 4.125 kB / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.514e-05/0.002754, allocations: 51.97 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.003142, allocations: 450.2 kB / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.658e-05/0.003208, allocations: 177.1 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/0.003236, allocations: 84.08 kB / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.003255, allocations: 75.28 kB / 0.6203 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.00329, allocations: 109.8 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.00329, allocations: 0 / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 6.111e-05/0.003351, allocations: 33.66 kB / 0.6204 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.0034, allocations: 126.7 kB / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.003531, allocations: 169.8 kB / 0.6207 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.00354, allocations: 25.7 kB / 0.6208 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.003594, allocations: 100.1 kB / 0.6208 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/0.003596, allocations: 0 / 0.6208 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.003622, allocations: 17.72 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.467e-05/0.003707, allocations: 322.8 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.003721, allocations: 11.94 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.722e-05/0.003738, allocations: 7.984 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.313e-05/0.003771, allocations: 12.86 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.003773, allocations: 0 / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.382e-05/0.003866, allocations: 57.62 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.00388, allocations: 10.59 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.003884, allocations: 0 / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.003894, allocations: 0 / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.924e-05/0.003943, allocations: 4 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.003948, allocations: 0 / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/0.003967, allocations: 15.83 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.567e-06/0.003976, allocations: 0 / 0.6213 GB, free: 10.21 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 (1): * Single equations (assignments): 1 * 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.315e-05/0.004049, allocations: 198 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.004089, allocations: 109 kB / 0.6216 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/0.00415, allocations: 112.8 kB / 0.6217 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.944e-05/0.00422, allocations: 184.2 kB / 0.6219 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.164e-05/0.004261, allocations: 180.3 kB / 0.622 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.917e-05/0.00431, allocations: 180.3 kB / 0.6222 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.004466, allocations: 396.2 kB / 0.6226 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3e-05/0.004496, allocations: 109 kB / 0.6227 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.25e-05/0.004569, allocations: 108.9 kB / 0.6228 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.145e-05/0.00461, allocations: 176.3 kB / 0.623 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-05/0.00466, allocations: 184.4 kB / 0.6231 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.199e-05/0.004702, allocations: 188.3 kB / 0.6233 GB, free: 8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.78e-05/0.00474, allocations: 176.3 kB / 0.6235 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.05e-05/0.00483, allocations: 311.7 kB / 0.6238 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.004869, allocations: 124.9 kB / 0.6239 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/0.004918, allocations: 180.3 kB / 0.6241 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.246e-05/0.00497, allocations: 101 kB / 0.6242 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.005014, allocations: 180.2 kB / 0.6243 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.005037, allocations: 105 kB / 0.6244 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000174/0.005211, allocations: 135.2 kB / 0.6246 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005211, allocations: 3.938 kB / 0.6246 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001401/0.005351, allocations: 4 kB / 0.6246 GB, free: 6.641 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 (0): * Single equations (assignments): 0 * 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.0002533/0.005604, allocations: 0.8087 MB / 0.6254 GB, free: 5.801 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.815e-05/0.005672, allocations: 15.98 kB / 0.6254 GB, free: 5.785 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.005674, allocations: 0 / 0.6254 GB, free: 5.785 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.005675, allocations: 0 / 0.6254 GB, free: 5.785 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.005979, allocations: 467.6 kB / 0.6258 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009333/0.006912, allocations: 1.629 MB / 0.6274 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.071e-05/0.006963, allocations: 75.33 kB / 0.6275 GB, free: 3.52 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.108e-05/0.006984, allocations: 7.984 kB / 0.6275 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.007021, allocations: 20.48 kB / 0.6275 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of SimCode: time 6.51e-07/0.007022, allocations: 4.062 kB / 0.6275 GB, free: 3.488 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.02195, allocations: 2.27 MB / 0.6297 GB, free: 1.359 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.568/6.59, allocations: 14.83 kB / 0.6298 GB, free: 1.348 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.308241662569344] Failed to read output from testmodel.py, exit status != 0: 6.6710633197799325 6.680509078 6.676705068 Calling exit ...