Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.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.001142/0.001142, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.00141/0.00141, allocations: 165.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.8913/0.8913, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.6824/0.6824, allocations: 154.6 MB / 413.7 MB, free: 0.8086 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.Exp,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.6182 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.926e-05, allocations: 4.953 kB / 0.6182 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001241/0.001261, allocations: 0.6552 MB / 0.6188 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0007742/0.002035, allocations: 0.8315 MB / 0.6196 GB, free: 11 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.185e-05/0.002067, allocations: 4 kB / 0.6196 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 2.534e-05/0.002092, allocations: 7.922 kB / 0.6196 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 5.343e-05/0.002145, allocations: 4 kB / 0.6196 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.002317, allocations: 11.94 kB / 0.6196 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 6.013e-05/0.002377, allocations: 23.92 kB / 0.6197 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 8.264e-05/0.002459, allocations: 4 kB / 0.6197 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 6.25e-05/0.002522, allocations: 19.97 kB / 0.6197 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 3e-05/0.002552, allocations: 7.922 kB / 0.6197 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.002565, allocations: 7.938 kB / 0.6197 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 3.744e-05/0.002602, allocations: 4 kB / 0.6197 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.002616, allocations: 4 kB / 0.6197 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 1.542e-05/0.002631, allocations: 4 kB / 0.6197 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 9.041e-05/0.002722, allocations: 27.94 kB / 0.6197 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.002724, allocations: 4 kB / 0.6197 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.182e-06/0.002725, allocations: 0 / 0.6197 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.002728, allocations: 3.938 kB / 0.6197 GB, free: 10.86 MB / 0.5417 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.0003053/0.003034, allocations: 270.3 kB / 0.62 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.003074, allocations: 8.031 kB / 0.62 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.637e-05/0.0031, allocations: 30.75 kB / 0.62 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.968e-05/0.00317, allocations: 8.891 kB / 0.62 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.374e-05/0.003244, allocations: 113.8 kB / 0.6202 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.003254, allocations: 384 / 0.6202 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-06/0.00326, allocations: 384 / 0.6202 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.003376, allocations: 50.25 kB / 0.6202 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.003383, allocations: 192 / 0.6202 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.003392, allocations: 4.359 kB / 0.6202 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.003397, allocations: 4.125 kB / 0.6202 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.489e-05/0.003482, allocations: 35.91 kB / 0.6202 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002536/0.003735, allocations: 212.1 kB / 0.6204 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.152e-05/0.003817, allocations: 38.56 kB / 0.6205 GB, free: 9.977 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.003859, allocations: 20.91 kB / 0.6205 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.003875, allocations: 0 / 0.6205 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.003894, allocations: 38.44 kB / 0.6205 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.003895, allocations: 0 / 0.6205 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002012/0.004097, allocations: 81.64 kB / 0.6206 GB, free: 9.82 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.004123, allocations: 51.41 kB / 0.6207 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.499e-05/0.004178, allocations: 109.9 kB / 0.6208 GB, free: 9.641 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.158e-06/0.004187, allocations: 29.7 kB / 0.6208 GB, free: 9.605 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.886e-05/0.004216, allocations: 84.09 kB / 0.6209 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.00423, allocations: 3.953 kB / 0.6209 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.004254, allocations: 17.72 kB / 0.6209 GB, free: 9.492 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.591e-05/0.00432, allocations: 314.8 kB / 0.6212 GB, free: 9.176 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.984e-05/0.00436, allocations: 15.98 kB / 0.6212 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-05/0.004393, allocations: 15.98 kB / 0.6212 GB, free: 9.145 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.552e-05/0.004469, allocations: 48.81 kB / 0.6213 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.00447, allocations: 0 / 0.6213 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.422e-05/0.004564, allocations: 61.61 kB / 0.6213 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.004577, allocations: 8 kB / 0.6213 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.004581, allocations: 0 / 0.6213 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.004591, allocations: 0 / 0.6213 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.118e-05/0.004642, allocations: 11.92 kB / 0.6214 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.004646, allocations: 4.031 kB / 0.6214 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.004667, allocations: 11.98 kB / 0.6214 GB, free: 8.992 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-06/0.004672, allocations: 4 kB / 0.6214 GB, free: 8.988 MB / 0.5417 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 5.44e-05/0.004727, allocations: 106.8 kB / 0.6215 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.00474, allocations: 3.938 kB / 0.6215 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.004864, allocations: 80.86 kB / 0.6216 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.004866, allocations: 192 / 0.6216 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.004869, allocations: 4.031 kB / 0.6216 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.004872, allocations: 3.984 kB / 0.6216 GB, free: 8.777 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.069e-05/0.004963, allocations: 128.7 kB / 0.6217 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.004964, allocations: 4 kB / 0.6217 GB, free: 8.605 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.558e-05/0.00499, allocations: 11.98 kB / 0.6217 GB, free: 8.594 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.004992, allocations: 3.938 kB / 0.6217 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.004998, allocations: 0 / 0.6217 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.005, allocations: 0 / 0.6217 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.005001, allocations: 4 kB / 0.6217 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.005116, allocations: 167.4 kB / 0.6219 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-06/0.005121, allocations: 3.938 kB / 0.6219 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.255e-06/0.00513, allocations: 0 / 0.6219 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.464e-05/0.005164, allocations: 7.984 kB / 0.6219 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.005195, allocations: 8 kB / 0.6219 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.005197, allocations: 0 / 0.6219 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.557e-05/0.005223, allocations: 83.27 kB / 0.622 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.005223, allocations: 0 / 0.622 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001359/0.005359, allocations: 4 kB / 0.622 GB, free: 8.301 MB / 0.5417 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.0002846/0.005644, allocations: 0.695 MB / 0.6227 GB, free: 7.578 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.005759, allocations: 39.89 kB / 0.6227 GB, free: 7.539 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.00576, allocations: 3.938 kB / 0.6227 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.737e-05/0.005797, allocations: 19.98 kB / 0.6227 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.006005, allocations: 8.156 kB / 0.6227 GB, free: 7.508 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.006302, allocations: 126.5 kB / 0.6228 GB, free: 7.344 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.737e-05/0.006339, allocations: 59.34 kB / 0.6229 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.639e-05/0.006356, allocations: 0 / 0.6229 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.006387, allocations: 20.44 kB / 0.6229 GB, free: 7.246 MB / 0.5417 GB Notification: Performance of SimCode: time 3.5e-07/0.006387, allocations: 0 / 0.6229 GB, free: 7.246 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/0.02216, allocations: 1.929 MB / 0.6248 GB, free: 5.453 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.705/6.727, allocations: 4.766 kB / 0.6248 GB, free: 5.449 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Exp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Exp.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.23306867107749] Failed to read output from testmodel.py, exit status != 0: 6.805805986747146 6.81950159 6.814712637 Calling exit ...