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.001267/0.001267, allocations: 72.45 kB / 19.02 MB, free: 1.113 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.001407/0.001407, allocations: 167.8 kB / 22.29 MB, free: 3.516 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 1.397/1.397, allocations: 177.2 MB / 202.7 MB, free: 4.812 MB / 186.7 MB " [Timeout remaining time 178] 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 1.197/1.197, allocations: 154.7 MB / 413.8 MB, free: 3.133 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: 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.002092/0.002092, allocations: 64.81 kB / 0.6181 GB, free: 1.059 MB / 0.5105 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2058, allocations: 102 MB / 0.7177 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001837/0.2076, allocations: 0.6442 MB / 0.7183 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001606/0.2078, allocations: 7.984 kB / 0.7183 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.873e-05/0.2079, allocations: 3.938 kB / 0.7183 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.964e-05/0.208, allocations: 4 kB / 0.7184 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.388e-05/0.208, allocations: 7.875 kB / 0.7184 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 8.659e-05/0.2081, allocations: 3.984 kB / 0.7184 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.2082, allocations: 39.92 kB / 0.7184 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.2083, allocations: 28.19 kB / 0.7184 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.551e-05/0.2083, allocations: 23.92 kB / 0.7185 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.437e-05/0.2084, allocations: 15.92 kB / 0.7185 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.2084, allocations: 4 kB / 0.7185 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.287e-05/0.2084, allocations: 4 kB / 0.7185 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.756e-05/0.2085, allocations: 11.94 kB / 0.7185 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.2085, allocations: 11.94 kB / 0.7185 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.971e-05/0.2086, allocations: 47.73 kB / 0.7185 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.2086, allocations: 4 kB / 0.7185 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2086, allocations: 4 kB / 0.7185 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.2086, allocations: 0 / 0.7185 GB, free: 10.32 MB / 0.6198 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.0003781/0.209, allocations: 278.6 kB / 0.7188 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.209, allocations: 8.031 kB / 0.7188 GB, free: 10 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.156e-05/0.2091, allocations: 34.75 kB / 0.7189 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.385e-05/0.2091, allocations: 8.891 kB / 0.7189 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.2093, allocations: 122.5 kB / 0.719 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.2093, allocations: 4.375 kB / 0.719 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.2093, allocations: 4.375 kB / 0.719 GB, free: 9.801 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.2095, allocations: 82.16 kB / 0.7191 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2095, allocations: 3.938 kB / 0.7191 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.2095, allocations: 4 kB / 0.7191 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2095, allocations: 4 kB / 0.7191 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.217e-05/0.2096, allocations: 47.97 kB / 0.7191 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006014/0.2102, allocations: 458.2 kB / 0.7196 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.2103, allocations: 165.1 kB / 0.7197 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.65e-05/0.2103, allocations: 80.14 kB / 0.7198 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.271e-05/0.2104, allocations: 79.28 kB / 0.7199 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.573e-05/0.2105, allocations: 109.8 kB / 0.72 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.2105, allocations: 0 / 0.72 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 9.422e-05/0.2105, allocations: 41.58 kB / 0.72 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.2107, allocations: 134.6 kB / 0.7201 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.2109, allocations: 171.6 kB / 0.7203 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.2109, allocations: 29.7 kB / 0.7203 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.2109, allocations: 88.14 kB / 0.7204 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.811e-06/0.211, allocations: 8.094 kB / 0.7204 GB, free: 8.215 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.211, allocations: 13.66 kB / 0.7204 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.2111, allocations: 318.8 kB / 0.7207 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.215e-05/0.2112, allocations: 7.984 kB / 0.7208 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.557e-05/0.2112, allocations: 8 kB / 0.7208 GB, free: 7.859 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.471e-05/0.2112, allocations: 20.78 kB / 0.7208 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2112, allocations: 4.062 kB / 0.7208 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001356/0.2114, allocations: 53.58 kB / 0.7208 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2114, allocations: 4 kB / 0.7208 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2114, allocations: 4 kB / 0.7208 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.2114, allocations: 0 / 0.7208 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.698e-05/0.2115, allocations: 7.922 kB / 0.7209 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2115, allocations: 0 / 0.7209 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.163e-05/0.2115, allocations: 11.94 kB / 0.7209 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.2115, allocations: 4 kB / 0.7209 GB, free: 7.742 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 (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 0.0001452/0.2117, allocations: 193.1 kB / 0.7211 GB, free: 7.543 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.864e-05/0.2118, allocations: 116.9 kB / 0.7212 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.58e-05/0.2118, allocations: 116.6 kB / 0.7213 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.912e-05/0.2119, allocations: 188.2 kB / 0.7215 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.455e-05/0.212, allocations: 180.2 kB / 0.7216 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.961e-05/0.2121, allocations: 176.3 kB / 0.7218 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.2124, allocations: 392.2 kB / 0.7222 GB, free: 6.309 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002031/0.2126, allocations: 105 kB / 0.7223 GB, free: 6.199 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-05/0.2127, allocations: 101 kB / 0.7224 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.122e-05/0.2128, allocations: 184.2 kB / 0.7225 GB, free: 5.906 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.797e-05/0.2129, allocations: 177 kB / 0.7227 GB, free: 5.727 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-05/0.213, allocations: 188.2 kB / 0.7229 GB, free: 5.535 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.74e-05/0.213, allocations: 184.3 kB / 0.7231 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.2132, allocations: 311.7 kB / 0.7234 GB, free: 5.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.642e-05/0.2133, allocations: 113.2 kB / 0.7235 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.2135, allocations: 188.2 kB / 0.7236 GB, free: 4.711 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.2136, allocations: 105 kB / 0.7237 GB, free: 4.602 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.505e-05/0.2136, allocations: 184.3 kB / 0.7239 GB, free: 4.414 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.146e-05/0.2137, allocations: 104.9 kB / 0.724 GB, free: 4.305 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001188/0.2138, allocations: 133.3 kB / 0.7242 GB, free: 4.176 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.2138, allocations: 0 / 0.7242 GB, free: 4.176 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002258/0.214, allocations: 8 kB / 0.7242 GB, free: 4.168 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 (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.000531/0.2146, allocations: 0.8126 MB / 0.725 GB, free: 3.328 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.72e-05/0.2147, allocations: 7.938 kB / 0.725 GB, free: 3.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2147, allocations: 0 / 0.725 GB, free: 3.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.2147, allocations: 0 / 0.725 GB, free: 3.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000608/0.2153, allocations: 471.6 kB / 0.7254 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.2169, allocations: 1.604 MB / 0.727 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.296e-05/0.217, allocations: 75.33 kB / 0.727 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.82e-05/0.2171, allocations: 12.05 kB / 0.7271 GB, free: 1.066 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/0.2171, allocations: 16.5 kB / 0.7271 GB, free: 1.051 MB / 0.6198 GB Notification: Performance of SimCode: time 7.31e-07/0.2171, allocations: 0 / 0.7271 GB, free: 1.051 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03067/0.2478, allocations: 2.262 MB / 0.7293 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.48, allocations: 5.781 kB / 0.7293 GB, free: 14.89 MB / 0.6355 GB " [Timeout remaining time 648] (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: 15.424534855003003] Failed to read output from testmodel.py, exit status != 0: 11.58609546200023 11.604997212 11.392959264 Calling exit ...