Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin.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.0008608/0.0008608, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000789/0.000789, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9293/0.9293, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.7497/0.7497, allocations: 154.6 MB / 413.7 MB, free: 0.793 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.MultiMin,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.838e-06/3.838e-06, allocations: 0 / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/3.123e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002036/0.002067, allocations: 0.6405 MB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001602/0.002227, allocations: 15.92 kB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.849e-05/0.002266, allocations: 0 / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.74e-05/0.002363, allocations: 11.86 kB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.58e-05/0.002399, allocations: 0 / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 8.508e-05/0.002484, allocations: 8 kB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.002603, allocations: 39.91 kB / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.002724, allocations: 19.98 kB / 0.6189 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.347e-05/0.002768, allocations: 19.97 kB / 0.6189 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.325e-05/0.002801, allocations: 11.94 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.002828, allocations: 4 kB / 0.6189 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.002839, allocations: 0 / 0.6189 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.316e-05/0.002872, allocations: 11.98 kB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.002903, allocations: 15.92 kB / 0.6189 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.003008, allocations: 51.75 kB / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.00301, allocations: 0 / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003011, allocations: 0 / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.003017, allocations: 4 kB / 0.619 GB, free: 12.75 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.0003583/0.003376, allocations: 274.2 kB / 0.6193 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.003427, allocations: 12.03 kB / 0.6193 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.145e-05/0.003468, allocations: 30.75 kB / 0.6193 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.003497, allocations: 12.89 kB / 0.6193 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.003668, allocations: 121.7 kB / 0.6194 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.003681, allocations: 384 / 0.6194 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.003694, allocations: 8.375 kB / 0.6194 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.003863, allocations: 74.23 kB / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.003874, allocations: 4.125 kB / 0.6195 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.003883, allocations: 4.312 kB / 0.6195 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.003891, allocations: 8.125 kB / 0.6195 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.9e-05/0.00397, allocations: 51.95 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.004491, allocations: 450.2 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.187e-05/0.004583, allocations: 173.1 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.517e-05/0.004618, allocations: 80.14 kB / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.004645, allocations: 75.28 kB / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/0.004692, allocations: 105.8 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.004693, allocations: 0 / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 7.881e-05/0.004772, allocations: 37.59 kB / 0.6204 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.004832, allocations: 130.6 kB / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.005006, allocations: 179.3 kB / 0.6207 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.005018, allocations: 25.7 kB / 0.6208 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.005068, allocations: 92.14 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.005071, allocations: 0 / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.005101, allocations: 13.72 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.17e-05/0.005182, allocations: 326.8 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.005199, allocations: 8 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.095e-05/0.00521, allocations: 7.984 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.171e-05/0.005241, allocations: 12.84 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.005243, allocations: 0 / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000123/0.005366, allocations: 61.64 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.005379, allocations: 4 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.005383, allocations: 0 / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.005394, allocations: 0 / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.296e-05/0.005447, allocations: 4 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.005451, allocations: 0 / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.165e-05/0.005473, allocations: 15.83 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.00549, allocations: 4.094 kB / 0.6213 GB, free: 10.19 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.643e-05/0.005567, allocations: 198 kB / 0.6215 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.005609, allocations: 109 kB / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.925e-05/0.005648, allocations: 120.7 kB / 0.6217 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.124e-05/0.005689, allocations: 176.3 kB / 0.6219 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.066e-05/0.00574, allocations: 180.2 kB / 0.622 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.353e-05/0.005783, allocations: 184.2 kB / 0.6222 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.005944, allocations: 392.2 kB / 0.6226 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.028e-05/0.005974, allocations: 109 kB / 0.6227 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.931e-05/0.006004, allocations: 105 kB / 0.6228 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.913e-05/0.006053, allocations: 184.2 kB / 0.623 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.996e-05/0.006103, allocations: 180.5 kB / 0.6231 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.523e-05/0.006158, allocations: 188.2 kB / 0.6233 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-05/0.006209, allocations: 180.3 kB / 0.6235 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.006328, allocations: 315.6 kB / 0.6238 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.006375, allocations: 112.9 kB / 0.6239 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.226e-05/0.006447, allocations: 184.2 kB / 0.6241 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.508e-05/0.006502, allocations: 105 kB / 0.6242 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.006557, allocations: 180.2 kB / 0.6244 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.006584, allocations: 108.9 kB / 0.6245 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.112e-05/0.006665, allocations: 137.4 kB / 0.6246 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006665, allocations: 0 / 0.6246 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001441/0.006809, allocations: 4 kB / 0.6246 GB, free: 6.621 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.0003076/0.007117, allocations: 0.8048 MB / 0.6254 GB, free: 5.785 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.958e-05/0.007187, allocations: 19.86 kB / 0.6254 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.007188, allocations: 0 / 0.6254 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.007189, allocations: 0 / 0.6254 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.007546, allocations: 463.7 kB / 0.6258 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.008568, allocations: 1.632 MB / 0.6274 GB, free: 3.598 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.231e-05/0.00862, allocations: 71.33 kB / 0.6275 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.982e-05/0.00865, allocations: 7.984 kB / 0.6275 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.274e-05/0.008703, allocations: 24.56 kB / 0.6275 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of SimCode: time 1.283e-06/0.008704, allocations: 0 / 0.6275 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01476/0.02346, allocations: 2.276 MB / 0.6298 GB, free: 1.344 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.413/6.437, allocations: 10.83 kB / 0.6298 GB, free: 1.336 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMin.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.170788856223226] Failed to read output from testmodel.py, exit status != 0: 6.515862098895013 6.524542506 6.519502752 Calling exit ...