Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.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.0008767/0.0008767, allocations: 76.44 kB / 19.17 MB, free: 0.7383 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.0008591/0.0008591, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.895/0.895, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7103/0.7103, allocations: 154.6 MB / 413.8 MB, free: 0.7891 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.Average,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 0.6182 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.566e-05, allocations: 5.297 kB / 0.6182 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001479/0.001505, allocations: 0.6738 MB / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007864/0.002291, allocations: 0.8315 MB / 0.6196 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.572e-05/0.002327, allocations: 0 / 0.6196 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.627e-05/0.002353, allocations: 7.938 kB / 0.6196 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.903e-05/0.002412, allocations: 7.938 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.638e-05/0.002468, allocations: 7.984 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.198e-05/0.00254, allocations: 47.84 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.682e-05/0.002637, allocations: 4 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.181e-05/0.002709, allocations: 27.97 kB / 0.6197 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.595e-05/0.002745, allocations: 19.97 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.002765, allocations: 0 / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.19e-06/0.00277, allocations: 7.938 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.002787, allocations: 8 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.002808, allocations: 19.92 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.038e-05/0.002888, allocations: 47.81 kB / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.00289, allocations: 0 / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.002e-06/0.002891, allocations: 0 / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.002895, allocations: 0 / 0.6198 GB, free: 11.85 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003629/0.003258, allocations: 282.2 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.003297, allocations: 11.97 kB / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/0.003332, allocations: 34.75 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.191e-05/0.003354, allocations: 8.891 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.834e-05/0.003442, allocations: 117.7 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.003453, allocations: 384 / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.003462, allocations: 4.375 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.003636, allocations: 70.2 kB / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.003643, allocations: 192 / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.003651, allocations: 384 / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.003658, allocations: 4.125 kB / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.003805, allocations: 71.86 kB / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.004117, allocations: 228 kB / 0.6206 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.004235, allocations: 58.52 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.65e-05/0.004311, allocations: 36.92 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.004323, allocations: 3.938 kB / 0.6207 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.004343, allocations: 34.5 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.004344, allocations: 4 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003013/0.004645, allocations: 125.6 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.004675, allocations: 55.41 kB / 0.6209 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.182e-05/0.004737, allocations: 109.8 kB / 0.621 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.004747, allocations: 33.64 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.004784, allocations: 92.09 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.004801, allocations: 7.953 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.004829, allocations: 17.7 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.999e-05/0.004909, allocations: 314.8 kB / 0.6215 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.082e-05/0.00498, allocations: 31.97 kB / 0.6215 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.52e-05/0.005045, allocations: 35.89 kB / 0.6216 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.005179, allocations: 72.78 kB / 0.6216 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.005181, allocations: 0 / 0.6216 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001626/0.005343, allocations: 101.5 kB / 0.6217 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.005357, allocations: 6.031 kB / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.005361, allocations: 0 / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.005375, allocations: 4 kB / 0.6217 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.853e-05/0.005453, allocations: 15.98 kB / 0.6217 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.005459, allocations: 0 / 0.6217 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.772e-05/0.005496, allocations: 15.97 kB / 0.6218 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.005504, allocations: 0 / 0.6218 GB, free: 9.688 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 (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.003e-05/0.005564, allocations: 118.8 kB / 0.6219 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.005577, allocations: 3.938 kB / 0.6219 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.968e-05/0.005597, allocations: 4 kB / 0.6219 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.005598, allocations: 0 / 0.6219 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.005602, allocations: 8 kB / 0.6219 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.005605, allocations: 3.938 kB / 0.6219 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.005709, allocations: 136.7 kB / 0.622 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.00571, allocations: 0 / 0.622 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.196e-05/0.005752, allocations: 23.91 kB / 0.622 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.005754, allocations: 4 kB / 0.622 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.00576, allocations: 0 / 0.622 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.005761, allocations: 0 / 0.622 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.005761, allocations: 0 / 0.622 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.005947, allocations: 191.4 kB / 0.6222 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.235e-06/0.005955, allocations: 8.312 kB / 0.6222 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.005969, allocations: 7.984 kB / 0.6222 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.855e-05/0.006017, allocations: 11.98 kB / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.006052, allocations: 3.938 kB / 0.6223 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.006054, allocations: 0 / 0.6223 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.11e-05/0.006085, allocations: 95.2 kB / 0.6224 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006085, allocations: 0 / 0.6224 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001405/0.006225, allocations: 12 kB / 0.6224 GB, free: 8.996 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 (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.0003769/0.006602, allocations: 0.728 MB / 0.6231 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000179/0.006781, allocations: 75.86 kB / 0.6231 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.006782, allocations: 0 / 0.6231 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.901e-05/0.006851, allocations: 31.97 kB / 0.6232 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.007064, allocations: 7.984 kB / 0.6232 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.007386, allocations: 146.6 kB / 0.6233 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.967e-05/0.007466, allocations: 71.27 kB / 0.6234 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.253e-05/0.007489, allocations: 4 kB / 0.6234 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.007526, allocations: 16.5 kB / 0.6234 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of SimCode: time 4.1e-07/0.007527, allocations: 0 / 0.6234 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.02273, allocations: 2.318 MB / 0.6257 GB, free: 5.664 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.533/6.555, allocations: 2.938 kB / 0.6257 GB, free: 5.664 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Average.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.16323872283101] Failed to read output from testmodel.py, exit status != 0: 6.635584494099021 6.646102134 6.641452253 Calling exit ...