Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.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.001362/0.001362, allocations: 72.45 kB / 19.02 MB, free: 1.113 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.001541/0.001541, allocations: 168 kB / 22.29 MB, free: 3.516 MB / 13.93 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 1.424/1.424, allocations: 177.2 MB / 202.7 MB, free: 4.812 MB / 186.7 MB " [Timeout remaining time 178] 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 1.216/1.216, allocations: 154.7 MB / 413.8 MB, free: 3.125 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.Logical.Sources.Validation.Constant,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 66.12 kB / 0.6181 GB, free: 1.008 MB / 0.5105 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2048, allocations: 102 MB / 0.7177 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001943/0.2067, allocations: 0.5407 MB / 0.7182 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 4.32e-05/0.2068, allocations: 0 / 0.7182 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.345e-05/0.2068, allocations: 0 / 0.7182 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.2068, allocations: 0 / 0.7182 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.428e-05/0.2068, allocations: 4 kB / 0.7182 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.055e-05/0.2069, allocations: 0 / 0.7182 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.052e-05/0.2069, allocations: 4 kB / 0.7182 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.411e-05/0.207, allocations: 3.984 kB / 0.7182 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.949e-05/0.207, allocations: 4 kB / 0.7182 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 1.591e-05/0.2071, allocations: 3.938 kB / 0.7182 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.2071, allocations: 4 kB / 0.7182 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.406e-06/0.2071, allocations: 0 / 0.7182 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.2071, allocations: 0 / 0.7182 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.743e-05/0.2071, allocations: 3.938 kB / 0.7182 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.837e-05/0.2071, allocations: 0 / 0.7182 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.2072, allocations: 4 kB / 0.7182 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2072, allocations: 3.938 kB / 0.7182 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2072, allocations: 0 / 0.7182 GB, free: 10.55 MB / 0.6198 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.0002987/0.2075, allocations: 246.6 kB / 0.7185 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2075, allocations: 8.031 kB / 0.7185 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.373e-05/0.2075, allocations: 30.75 kB / 0.7185 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.6e-05/0.2075, allocations: 4.938 kB / 0.7185 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.2077, allocations: 106.5 kB / 0.7186 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.2077, allocations: 384 / 0.7186 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-06/0.2077, allocations: 384 / 0.7186 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.809e-05/0.2078, allocations: 30.27 kB / 0.7186 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2078, allocations: 3.938 kB / 0.7186 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.73e-06/0.2078, allocations: 0 / 0.7186 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.2078, allocations: 0 / 0.7186 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.831e-05/0.2078, allocations: 11.92 kB / 0.7186 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.2081, allocations: 343 kB / 0.719 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.2082, allocations: 181.1 kB / 0.7191 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.394e-05/0.2083, allocations: 84.17 kB / 0.7192 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.2083, allocations: 75.28 kB / 0.7193 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.809e-05/0.2084, allocations: 109.8 kB / 0.7194 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 6.81e-07/0.2084, allocations: 7.938 kB / 0.7194 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.478e-05/0.2084, allocations: 25.7 kB / 0.7194 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/0.2085, allocations: 126.7 kB / 0.7196 GB, free: 9.027 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.044e-05/0.2086, allocations: 97.86 kB / 0.7196 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.2086, allocations: 25.7 kB / 0.7197 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.2086, allocations: 84.27 kB / 0.7198 GB, free: 8.805 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.2086, allocations: 7.922 kB / 0.7198 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.2087, allocations: 13.72 kB / 0.7198 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.2088, allocations: 314.8 kB / 0.7201 GB, free: 8.461 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.686e-06/0.2088, allocations: 4 kB / 0.7201 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.387e-06/0.2088, allocations: 0 / 0.7201 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.701e-05/0.2089, allocations: 75.28 kB / 0.7201 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.489e-05/0.2089, allocations: 79.22 kB / 0.7202 GB, free: 8.305 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.822e-05/0.209, allocations: 33.64 kB / 0.7203 GB, free: 8.266 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.892e-05/0.209, allocations: 83.28 kB / 0.7203 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.925e-05/0.2091, allocations: 79.28 kB / 0.7204 GB, free: 8.105 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.524e-05/0.2091, allocations: 162.4 kB / 0.7206 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.362e-05/0.2092, allocations: 75.28 kB / 0.7206 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.256e-05/0.2092, allocations: 154.6 kB / 0.7208 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.623e-05/0.2093, allocations: 83.2 kB / 0.7209 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.2094, allocations: 75.28 kB / 0.7209 GB, free: 7.562 MB / 0.6198 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 0.0001565/0.2095, allocations: 268.3 kB / 0.7212 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.169e-05/0.2096, allocations: 104.9 kB / 0.7213 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.118e-05/0.2097, allocations: 107.9 kB / 0.7214 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001009/0.2098, allocations: 184.9 kB / 0.7216 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.743e-05/0.2099, allocations: 180.2 kB / 0.7217 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.061e-05/0.2099, allocations: 184.2 kB / 0.7219 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.2102, allocations: 384.2 kB / 0.7223 GB, free: 6.086 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.287e-05/0.2103, allocations: 105 kB / 0.7224 GB, free: 5.977 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-05/0.2103, allocations: 105 kB / 0.7225 GB, free: 5.867 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.663e-05/0.2104, allocations: 180.5 kB / 0.7227 GB, free: 5.684 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.744e-05/0.2105, allocations: 180.3 kB / 0.7228 GB, free: 5.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-05/0.2106, allocations: 184.2 kB / 0.723 GB, free: 5.312 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.792e-05/0.2107, allocations: 184.3 kB / 0.7232 GB, free: 5.125 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.2108, allocations: 307.7 kB / 0.7235 GB, free: 4.801 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.723e-05/0.2109, allocations: 105 kB / 0.7236 GB, free: 4.691 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.875e-05/0.211, allocations: 184.2 kB / 0.7238 GB, free: 4.504 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.835e-05/0.2111, allocations: 105 kB / 0.7239 GB, free: 4.395 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.682e-05/0.2112, allocations: 184.2 kB / 0.724 GB, free: 4.207 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.77e-05/0.2112, allocations: 101 kB / 0.7241 GB, free: 4.102 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.603e-05/0.2113, allocations: 83.28 kB / 0.7242 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2113, allocations: 0 / 0.7242 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000251/0.2116, allocations: 3.938 kB / 0.7242 GB, free: 4.016 MB / 0.6198 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.000483/0.212, allocations: 0.8125 MB / 0.725 GB, free: 3.172 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.315e-05/0.2121, allocations: 4 kB / 0.725 GB, free: 3.168 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2121, allocations: 4.094 kB / 0.725 GB, free: 3.164 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.2121, allocations: 0 / 0.725 GB, free: 3.164 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/0.2126, allocations: 456.3 kB / 0.7254 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.2138, allocations: 1.528 MB / 0.7269 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.408e-05/0.2138, allocations: 55.36 kB / 0.727 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.796e-06/0.2138, allocations: 3.984 kB / 0.727 GB, free: 1.031 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.2138, allocations: 8.5 kB / 0.727 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.2138, allocations: 0 / 0.727 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.2437, allocations: 1.523 MB / 0.7285 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.5, allocations: 13.45 kB / 0.7285 GB, free: 15.59 MB / 0.6355 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.485205054996186] Failed to read output from testmodel.py, exit status != 0: 11.603223377998802 11.633415829 11.420842135000001 Calling exit ...