Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.0007828/0.0007828, 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.0007916/0.0007916, 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.891/0.891, 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.7007/0.7007, allocations: 154.6 MB / 413.8 MB, free: 0.7969 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.Integers.Sources.Validation.Constant,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.323e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001223/0.001246, allocations: 0.538 MB / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 3.851e-05/0.001285, allocations: 0 / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.405e-05/0.001309, allocations: 0 / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.001334, allocations: 0 / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.515e-05/0.001359, allocations: 0 / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.067e-05/0.00139, allocations: 8 kB / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.865e-05/0.001439, allocations: 0 / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.643e-05/0.001485, allocations: 7.984 kB / 0.6186 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.843e-05/0.001514, allocations: 0 / 0.6186 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.688e-05/0.00153, allocations: 0 / 0.6186 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.001549, allocations: 0 / 0.6186 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.336e-06/0.001552, allocations: 3.938 kB / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.001564, allocations: 0 / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.646e-05/0.00158, allocations: 4 kB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.566e-05/0.001636, allocations: 7.922 kB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.001638, allocations: 0 / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.002e-06/0.001639, allocations: 4 kB / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.001643, allocations: 0 / 0.6187 GB, free: 13.08 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000242/0.001885, allocations: 238.5 kB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.001927, allocations: 8.031 kB / 0.6189 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002912/0.002218, allocations: 34.75 kB / 0.6189 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.925e-05/0.002237, allocations: 4.938 kB / 0.6189 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.952e-05/0.002307, allocations: 101.8 kB / 0.619 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.002317, allocations: 384 / 0.619 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-06/0.002323, allocations: 384 / 0.619 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.344e-05/0.002407, allocations: 34.27 kB / 0.6191 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.002414, allocations: 4.188 kB / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.002423, allocations: 384 / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.002429, allocations: 8.109 kB / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.742e-05/0.002446, allocations: 3.938 kB / 0.6191 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002527/0.002699, allocations: 350.6 kB / 0.6194 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.993e-05/0.002759, allocations: 165.1 kB / 0.6196 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.306e-05/0.002782, allocations: 80.14 kB / 0.6197 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.002801, allocations: 75.28 kB / 0.6197 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.002834, allocations: 117.8 kB / 0.6198 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.493e-06/0.002835, allocations: 3.938 kB / 0.6198 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.456e-05/0.00289, allocations: 25.7 kB / 0.6199 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.002931, allocations: 130.7 kB / 0.62 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.341e-05/0.002995, allocations: 97.86 kB / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.003003, allocations: 29.64 kB / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.159e-05/0.003024, allocations: 88.08 kB / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.003026, allocations: 0 / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.592e-05/0.003042, allocations: 9.719 kB / 0.6202 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.003114, allocations: 314.8 kB / 0.6205 GB, free: 11 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.408e-06/0.003118, allocations: 0 / 0.6205 GB, free: 11 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.156e-06/0.003121, allocations: 0 / 0.6205 GB, free: 11 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.965e-05/0.003141, allocations: 79.28 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.828e-05/0.003159, allocations: 79.41 kB / 0.6207 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.463e-05/0.003194, allocations: 37.58 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.003222, allocations: 85.31 kB / 0.6208 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.00324, allocations: 75.28 kB / 0.6208 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.228e-05/0.003283, allocations: 154.5 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.707e-05/0.0033, allocations: 79.28 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.483e-05/0.003334, allocations: 150.6 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.465e-05/0.003379, allocations: 83.2 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.003396, allocations: 79.28 kB / 0.6214 GB, free: 10.11 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 (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 prepare postOptimizeDAE: time 7.811e-05/0.003474, allocations: 265.3 kB / 0.6216 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.00351, allocations: 116.8 kB / 0.6217 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.641e-05/0.003546, allocations: 112.2 kB / 0.6218 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.003e-05/0.003586, allocations: 180.5 kB / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.062e-05/0.003627, allocations: 180.2 kB / 0.6222 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.964e-05/0.003666, allocations: 188.3 kB / 0.6224 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.0038, allocations: 368.2 kB / 0.6227 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-05/0.003823, allocations: 109 kB / 0.6228 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.2e-05/0.003845, allocations: 101 kB / 0.6229 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.941e-05/0.003884, allocations: 184.1 kB / 0.6231 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.123e-05/0.003925, allocations: 184.3 kB / 0.6233 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.781e-05/0.003963, allocations: 180.2 kB / 0.6234 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.972e-05/0.004003, allocations: 184.2 kB / 0.6236 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.726e-05/0.0041, allocations: 311.8 kB / 0.6239 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.004131, allocations: 108.9 kB / 0.624 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.004179, allocations: 188.2 kB / 0.6242 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.609e-05/0.004226, allocations: 105 kB / 0.6243 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.00427, allocations: 180.2 kB / 0.6245 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.004294, allocations: 105 kB / 0.6246 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.951e-05/0.004324, allocations: 75.28 kB / 0.6246 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004324, allocations: 3.938 kB / 0.6246 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001713/0.004495, allocations: 96 / 0.6246 GB, free: 6.555 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 (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.0002748/0.00477, allocations: 0.8126 MB / 0.6254 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 3.642e-05/0.004806, allocations: 0 / 0.6254 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.004808, allocations: 0 / 0.6254 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.00481, allocations: 7.938 kB / 0.6254 GB, free: 5.707 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.005068, allocations: 455.7 kB / 0.6259 GB, free: 5.258 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009691/0.006037, allocations: 1.517 MB / 0.6274 GB, free: 3.66 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.662e-05/0.006074, allocations: 59.34 kB / 0.6274 GB, free: 3.582 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.063e-06/0.006081, allocations: 4.094 kB / 0.6274 GB, free: 3.578 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.006105, allocations: 8.5 kB / 0.6274 GB, free: 3.566 MB / 0.5886 GB Notification: Performance of SimCode: time 4.81e-07/0.006105, allocations: 0 / 0.6274 GB, free: 3.566 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01565/0.02175, allocations: 1.535 MB / 0.6289 GB, free: 2.164 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.657/6.678, allocations: 8.047 kB / 0.6289 GB, free: 2.156 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.287882707081735] Failed to read output from testmodel.py, exit status != 0: 6.755608468316495 6.764821223 6.761415661 Calling exit ...