Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.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.0008447/0.0008447, 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.001036/0.001036, 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.9172/0.9172, allocations: 177.1 MB / 202.8 MB, free: 5.539 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.7018/0.7018, allocations: 154.6 MB / 413.8 MB, free: 0.7539 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.Sources.Validation.Constant,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.756e-06/8.756e-06, allocations: 0 / 0.6181 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/3.141e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001716/0.001748, allocations: 0.5834 MB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 4.341e-05/0.001791, allocations: 0 / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.861e-05/0.00182, allocations: 4 kB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.001848, allocations: 0 / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.575e-05/0.001873, allocations: 0 / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 2.883e-05/0.001902, allocations: 4 kB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.153e-05/0.001964, allocations: 0 / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.152e-05/0.002015, allocations: 7.922 kB / 0.6187 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.888e-05/0.002044, allocations: 0 / 0.6187 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.926e-05/0.002063, allocations: 4 kB / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.002085, allocations: 0 / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.527e-06/0.002089, allocations: 0 / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.002104, allocations: 7.938 kB / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.747e-05/0.002121, allocations: 0 / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.117e-05/0.002182, allocations: 4 kB / 0.6187 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.002185, allocations: 0 / 0.6187 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.13e-06/0.00219, allocations: 4 kB / 0.6187 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.002195, allocations: 0 / 0.6187 GB, free: 12.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002616/0.002457, allocations: 234.5 kB / 0.619 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.002501, allocations: 8.031 kB / 0.619 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.142e-05/0.002532, allocations: 30.75 kB / 0.619 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.965e-05/0.002552, allocations: 4.938 kB / 0.619 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.56e-05/0.002637, allocations: 105.8 kB / 0.6191 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.002649, allocations: 384 / 0.6191 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.002657, allocations: 4.375 kB / 0.6191 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.748e-05/0.002734, allocations: 26.27 kB / 0.6191 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.002742, allocations: 4.188 kB / 0.6191 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.00275, allocations: 384 / 0.6191 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.002755, allocations: 8.062 kB / 0.6192 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.674e-05/0.002772, allocations: 3.938 kB / 0.6192 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.003079, allocations: 350.6 kB / 0.6195 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.86e-05/0.003158, allocations: 169.2 kB / 0.6197 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.58e-05/0.003183, allocations: 84.08 kB / 0.6197 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.003204, allocations: 75.28 kB / 0.6198 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.003239, allocations: 121.7 kB / 0.6199 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.003241, allocations: 0 / 0.6199 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.688e-05/0.003298, allocations: 33.69 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.003343, allocations: 126.7 kB / 0.6201 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.543e-05/0.003408, allocations: 93.86 kB / 0.6202 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.116e-06/0.003416, allocations: 25.7 kB / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.228e-05/0.003438, allocations: 80.14 kB / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/0.00344, allocations: 0 / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.74e-05/0.003458, allocations: 17.72 kB / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.654e-05/0.003534, allocations: 310.8 kB / 0.6206 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.979e-06/0.003539, allocations: 4.125 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.406e-06/0.003543, allocations: 0 / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.171e-05/0.003564, allocations: 79.27 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-05/0.003581, allocations: 75.28 kB / 0.6207 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.529e-05/0.003616, allocations: 37.58 kB / 0.6208 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.003644, allocations: 79.28 kB / 0.6208 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.003663, allocations: 79.28 kB / 0.6209 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.202e-05/0.003705, allocations: 154.5 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.66e-05/0.003721, allocations: 75.28 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.165e-05/0.003763, allocations: 158.6 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.101e-05/0.003804, allocations: 79.22 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.003822, allocations: 83.27 kB / 0.6214 GB, free: 10.02 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.934e-05/0.003901, allocations: 265.3 kB / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.003938, allocations: 112.8 kB / 0.6218 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.003974, allocations: 108.2 kB / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.443e-05/0.004018, allocations: 188.4 kB / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-05/0.004063, allocations: 180.2 kB / 0.6223 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-05/0.004104, allocations: 180.3 kB / 0.6224 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.004242, allocations: 372.2 kB / 0.6228 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.723e-05/0.00427, allocations: 109 kB / 0.6229 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.765e-05/0.004297, allocations: 112.9 kB / 0.623 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-05/0.00434, allocations: 184.2 kB / 0.6232 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.401e-05/0.004384, allocations: 176.3 kB / 0.6233 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.306e-05/0.004427, allocations: 184.2 kB / 0.6235 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-05/0.004467, allocations: 180.2 kB / 0.6237 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.897e-05/0.004566, allocations: 307.8 kB / 0.624 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.0046, allocations: 116.8 kB / 0.6241 GB, free: 7.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.043e-05/0.004651, allocations: 180.2 kB / 0.6243 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.085e-05/0.004712, allocations: 109 kB / 0.6244 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.00476, allocations: 184.2 kB / 0.6245 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.004784, allocations: 105 kB / 0.6246 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.04e-05/0.004814, allocations: 83.28 kB / 0.6247 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004814, allocations: 0 / 0.6247 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001619/0.004976, allocations: 0 / 0.6247 GB, free: 6.457 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.0002874/0.005264, allocations: 0.8087 MB / 0.6255 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 3.661e-05/0.0053, allocations: 0 / 0.6255 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.005302, allocations: 0 / 0.6255 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.005303, allocations: 0 / 0.6255 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.005554, allocations: 455.7 kB / 0.6259 GB, free: 5.172 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008198/0.006374, allocations: 1.529 MB / 0.6274 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.015e-05/0.006414, allocations: 59.34 kB / 0.6275 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.805e-06/0.006422, allocations: 0 / 0.6275 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.346e-05/0.006445, allocations: 8.5 kB / 0.6275 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of SimCode: time 5.11e-07/0.006446, allocations: 3.938 kB / 0.6275 GB, free: 3.473 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01616/0.02261, allocations: 1.545 MB / 0.629 GB, free: 2.059 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.572/6.594, allocations: 0.9375 kB / 0.629 GB, free: 2.059 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.22698850184679] Failed to read output from testmodel.py, exit status != 0: 6.674141705967486 6.681336093 6.677443696 Calling exit ...