Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.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.0007659/0.0007659, 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.0008828/0.0008828, 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.9179/0.9179, 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.7238/0.7238, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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.Log,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.6182 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.546e-05, allocations: 7.625 kB / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Log): time 0.001231/0.001246, allocations: 0.6559 MB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008121/0.002058, allocations: 0.8393 MB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.283e-05/0.002091, allocations: 0 / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.774e-05/0.002119, allocations: 3.984 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.057e-05/0.002179, allocations: 3.984 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.002364, allocations: 15.88 kB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.299e-05/0.002437, allocations: 27.92 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.588e-05/0.002523, allocations: 4 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.423e-05/0.002587, allocations: 11.98 kB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.322e-05/0.002621, allocations: 15.92 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.002633, allocations: 0 / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.623e-05/0.002679, allocations: 4 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.002694, allocations: 7.984 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.553e-05/0.00271, allocations: 4 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.97e-05/0.0028, allocations: 27.95 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.002801, allocations: 0 / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.282e-06/0.002803, allocations: 0 / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.002806, allocations: 7.938 kB / 0.6198 GB, free: 11.99 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003137/0.00312, allocations: 258.3 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.003158, allocations: 12.03 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.561e-05/0.003184, allocations: 30.75 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.905e-05/0.003243, allocations: 4.891 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.262e-05/0.003315, allocations: 113.7 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.003325, allocations: 384 / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.003333, allocations: 4.375 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.003463, allocations: 42.25 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.003472, allocations: 8.172 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.00348, allocations: 4.375 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.003486, allocations: 4.125 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.947e-05/0.003575, allocations: 31.95 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.003844, allocations: 216.1 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.505e-05/0.003919, allocations: 38.5 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.394e-05/0.003963, allocations: 20.91 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.003984, allocations: 4 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.004006, allocations: 38.5 kB / 0.6205 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.004007, allocations: 0 / 0.6205 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002125/0.00422, allocations: 81.59 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.004251, allocations: 59.34 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.352e-05/0.004305, allocations: 97.84 kB / 0.6208 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.004321, allocations: 29.64 kB / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.115e-05/0.004352, allocations: 88.27 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.004368, allocations: 7.938 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.004391, allocations: 13.72 kB / 0.6209 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.178e-05/0.004463, allocations: 318.8 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.298e-05/0.004506, allocations: 15.98 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.394e-05/0.00454, allocations: 15.98 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.499e-05/0.004615, allocations: 44.88 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004616, allocations: 0 / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.637e-05/0.004713, allocations: 69.55 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.004724, allocations: 6.031 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.004728, allocations: 0 / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.004739, allocations: 0 / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.613e-05/0.004795, allocations: 15.92 kB / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.004799, allocations: 0 / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.375e-05/0.004823, allocations: 12.02 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-06/0.004828, allocations: 0 / 0.6214 GB, free: 10.12 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 (2): * Single equations (assignments): 2 * 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 4.95e-05/0.004877, allocations: 110.8 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.00489, allocations: 7.938 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.00501, allocations: 68.92 kB / 0.6216 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.005011, allocations: 0 / 0.6216 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.005015, allocations: 0 / 0.6216 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.005019, allocations: 7.984 kB / 0.6216 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.205e-05/0.005111, allocations: 128.7 kB / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.005113, allocations: 4 kB / 0.6217 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.422e-05/0.005137, allocations: 11.92 kB / 0.6217 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.00514, allocations: 3.938 kB / 0.6217 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.005144, allocations: 4 kB / 0.6217 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.005145, allocations: 0 / 0.6217 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005146, allocations: 0 / 0.6217 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.005266, allocations: 163.5 kB / 0.6219 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-06/0.005273, allocations: 3.969 kB / 0.6219 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-06/0.005283, allocations: 8 kB / 0.6219 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.475e-05/0.005317, allocations: 3.984 kB / 0.6219 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.005346, allocations: 4 kB / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.005348, allocations: 0 / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.536e-05/0.005373, allocations: 87.27 kB / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005373, allocations: 0 / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001406/0.005514, allocations: 4 kB / 0.622 GB, free: 9.441 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 (2): * Single equations (assignments): 2 * 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.0002776/0.005792, allocations: 0.6967 MB / 0.6227 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.005905, allocations: 39.95 kB / 0.6227 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.005906, allocations: 0 / 0.6227 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.747e-05/0.005944, allocations: 19.86 kB / 0.6227 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.006131, allocations: 8 kB / 0.6227 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.006427, allocations: 130.8 kB / 0.6228 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.715e-05/0.006464, allocations: 59.34 kB / 0.6229 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.583e-05/0.00648, allocations: 4 kB / 0.6229 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/0.006509, allocations: 12.44 kB / 0.6229 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/0.00651, allocations: 0 / 0.6229 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01362/0.02013, allocations: 1.948 MB / 0.6248 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.553/6.573, allocations: 4.062 kB / 0.6248 GB, free: 6.578 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Log_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Log.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.207778975367546] Failed to read output from testmodel.py, exit status != 0: 6.652837913483381 6.661772063 6.657214755 Calling exit ...