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.001763/0.001763, allocations: 76.45 kB / 19.02 MB, free: 1.102 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.00214/0.00214, allocations: 159.2 kB / 22.29 MB, free: 3.512 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.39/1.39, allocations: 177.2 MB / 202.7 MB, free: 4.82 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.245/1.245, allocations: 154.7 MB / 413.8 MB, free: 3.141 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: 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.002381/0.002381, allocations: 66.31 kB / 0.6181 GB, free: 1.094 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.2254/0.2278, allocations: 102 MB / 0.7177 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002283/0.2301, allocations: 0.6445 MB / 0.7183 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001644/0.2303, allocations: 7.984 kB / 0.7183 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.345e-05/0.2303, allocations: 3.938 kB / 0.7184 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.2304, allocations: 4 kB / 0.7184 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.275e-05/0.2304, allocations: 0 / 0.7184 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 7.185e-05/0.2305, allocations: 11.94 kB / 0.7184 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.189e-05/0.2306, allocations: 27.97 kB / 0.7184 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.2307, allocations: 20.2 kB / 0.7184 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.648e-05/0.2308, allocations: 23.92 kB / 0.7184 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.381e-05/0.2308, allocations: 15.88 kB / 0.7185 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.2308, allocations: 4 kB / 0.7185 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.242e-05/0.2309, allocations: 4 kB / 0.7185 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.2309, allocations: 19.91 kB / 0.7185 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.2309, allocations: 7.938 kB / 0.7185 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.231, allocations: 47.75 kB / 0.7185 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.231, allocations: 0 / 0.7185 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/0.231, allocations: 4 kB / 0.7185 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.231, allocations: 0 / 0.7185 GB, free: 10.38 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.0003762/0.2314, allocations: 274.6 kB / 0.7188 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.2315, allocations: 12.03 kB / 0.7188 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.643e-05/0.2315, allocations: 42.67 kB / 0.7188 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.2315, allocations: 8.891 kB / 0.7189 GB, free: 10 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.2317, allocations: 114.5 kB / 0.719 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.2317, allocations: 4.375 kB / 0.719 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.2317, allocations: 384 / 0.719 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.2319, allocations: 89.11 kB / 0.7191 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.2319, allocations: 7.938 kB / 0.7191 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.2319, allocations: 4 kB / 0.7191 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2319, allocations: 4 kB / 0.7191 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.232, allocations: 47.97 kB / 0.7191 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005772/0.2326, allocations: 458.2 kB / 0.7196 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.2327, allocations: 173.1 kB / 0.7197 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.598e-05/0.2328, allocations: 80.14 kB / 0.7198 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-05/0.2328, allocations: 75.28 kB / 0.7199 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.256e-05/0.2329, allocations: 109.8 kB / 0.72 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.2329, allocations: 4 kB / 0.72 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 9.741e-05/0.233, allocations: 33.59 kB / 0.72 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.068e-05/0.2331, allocations: 138.7 kB / 0.7201 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.2333, allocations: 175.5 kB / 0.7203 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.2333, allocations: 25.7 kB / 0.7203 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.797e-05/0.2334, allocations: 96.12 kB / 0.7204 GB, free: 8.266 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.2334, allocations: 0 / 0.7204 GB, free: 8.266 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.2334, allocations: 13.72 kB / 0.7204 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2336, allocations: 322.8 kB / 0.7207 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.874e-05/0.2336, allocations: 4 kB / 0.7207 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.049e-05/0.2336, allocations: 11.98 kB / 0.7208 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/0.2336, allocations: 12.92 kB / 0.7208 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2336, allocations: 3.938 kB / 0.7208 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001429/0.2338, allocations: 57.62 kB / 0.7208 GB, free: 7.824 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2338, allocations: 4 kB / 0.7208 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2338, allocations: 0 / 0.7208 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.2338, allocations: 3.938 kB / 0.7208 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.311e-05/0.2339, allocations: 7.938 kB / 0.7208 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.2339, allocations: 0 / 0.7208 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.084e-05/0.2339, allocations: 7.938 kB / 0.7209 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.2339, allocations: 4 kB / 0.7209 GB, free: 7.797 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.0001368/0.2341, allocations: 197.1 kB / 0.721 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.151e-05/0.2342, allocations: 112.9 kB / 0.7212 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.01e-05/0.2343, allocations: 116.6 kB / 0.7213 GB, free: 7.352 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.643e-05/0.2344, allocations: 184.2 kB / 0.7214 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.11e-05/0.2344, allocations: 184.2 kB / 0.7216 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-05/0.2345, allocations: 180.2 kB / 0.7218 GB, free: 6.793 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/0.2349, allocations: 388.2 kB / 0.7222 GB, free: 6.363 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.359e-05/0.235, allocations: 109 kB / 0.7223 GB, free: 6.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.624e-05/0.235, allocations: 101 kB / 0.7224 GB, free: 6.145 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.768e-05/0.2351, allocations: 180.2 kB / 0.7225 GB, free: 5.961 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.529e-05/0.2352, allocations: 185 kB / 0.7227 GB, free: 5.773 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.692e-05/0.2353, allocations: 188.2 kB / 0.7229 GB, free: 5.582 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.405e-05/0.2354, allocations: 180.3 kB / 0.7231 GB, free: 5.398 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.2356, allocations: 311.7 kB / 0.7234 GB, free: 5.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.827e-05/0.2356, allocations: 113.2 kB / 0.7235 GB, free: 4.953 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.2357, allocations: 188.2 kB / 0.7236 GB, free: 4.762 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.2359, allocations: 109 kB / 0.7237 GB, free: 4.648 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.693e-05/0.236, allocations: 184.3 kB / 0.7239 GB, free: 4.461 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.868e-05/0.236, allocations: 108.9 kB / 0.724 GB, free: 4.348 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001224/0.2361, allocations: 133.1 kB / 0.7242 GB, free: 4.219 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2361, allocations: 0 / 0.7242 GB, free: 4.219 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002439/0.2364, allocations: 8 kB / 0.7242 GB, free: 4.211 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.0005113/0.2369, allocations: 0.8048 MB / 0.7249 GB, free: 3.379 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.575e-05/0.237, allocations: 15.92 kB / 0.725 GB, free: 3.363 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.237, allocations: 0 / 0.725 GB, free: 3.363 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.237, allocations: 0 / 0.725 GB, free: 3.363 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006202/0.2376, allocations: 463.6 kB / 0.7254 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.2392, allocations: 1.596 MB / 0.727 GB, free: 1.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.386e-05/0.2393, allocations: 89.62 kB / 0.727 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.734e-05/0.2394, allocations: 4 kB / 0.7271 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.2394, allocations: 12.5 kB / 0.7271 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.2394, allocations: 4.109 kB / 0.7271 GB, free: 1.105 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03211/0.2715, allocations: 2.255 MB / 0.7293 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.74, allocations: 10.06 kB / 0.7293 GB, free: 14.95 MB / 0.6355 GB " [Timeout remaining time 648] (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: 15.706445544987218] Failed to read output from testmodel.py, exit status != 0: 11.843724717007717 11.86162931 11.62668007 Calling exit ...