Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009452/0.0009452, allocations: 97.56 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005634/0.005634, allocations: 169.2 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.362/2.362, allocations: 437.8 MB / 0.7121 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002964/0.0002964, allocations: 12 kB / 0.8729 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5199/0.5202, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.6662/1.186, allocations: 231 MB / 1.249 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0218/1.208, allocations: 17.55 MB / 1.266 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002575/1.211, allocations: 79.56 kB / 1.266 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.008853/1.22, allocations: 4.363 MB / 1.27 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008141/1.228, allocations: 3.207 MB / 1.273 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005531/1.233, allocations: 2.263 MB / 1.276 GB, free: 1.809 MB / 0.9825 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.3240000000000001}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01023/1.244, allocations: 9.513 MB / 1.285 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/1.246, allocations: 1.615 MB / 1.286 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0042/1.25, allocations: 2.319 MB / 1.289 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/1.252, allocations: 1.588 MB / 1.29 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001908/1.252, allocations: 84.03 kB / 1.29 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005983/1.258, allocations: 3.947 MB / 1.294 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006546/1.259, allocations: 0.7588 MB / 1.295 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001206/1.26, allocations: 1.244 MB / 1.296 GB, free: 17.4 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005583/1.266, allocations: 4.862 MB / 1.301 GB, free: 17.1 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/1.266, allocations: 0 / 1.301 GB, free: 17.1 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.863e-06/1.266, allocations: 0 / 1.301 GB, free: 17.1 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.146e-05/1.266, allocations: 0 / 1.301 GB, free: 17.1 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.00492/1.271, allocations: 2.777 MB / 1.304 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/1.271, allocations: 15.05 kB / 1.304 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003025/1.271, allocations: 197.2 kB / 1.304 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005131/1.276, allocations: 0.9221 MB / 1.305 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003635/1.28, allocations: 2.685 MB / 1.307 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000365/1.28, allocations: 173.8 kB / 1.307 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/1.281, allocations: 150.9 kB / 1.308 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002833/1.283, allocations: 1.697 MB / 1.309 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/1.283, allocations: 6.906 kB / 1.309 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/1.284, allocations: 57.53 kB / 1.309 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.302e-05/1.284, allocations: 50.59 kB / 1.309 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003101/1.287, allocations: 1.525 MB / 1.311 GB, free: 14.45 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009318/1.296, allocations: 7.983 MB / 1.319 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002564/1.299, allocations: 1.648 MB / 1.32 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/1.3, allocations: 0.5429 MB / 1.321 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001235/1.301, allocations: 0.8081 MB / 1.322 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001139/1.302, allocations: 0.5857 MB / 1.322 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005785/1.303, allocations: 126.5 kB / 1.322 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=84): time 3.226e-06/1.303, allocations: 2.969 kB / 1.322 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84): time 0.003791/1.306, allocations: 1.703 MB / 1.324 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/1.307, allocations: 67.31 kB / 1.324 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/1.309, allocations: 2.143 MB / 1.326 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.464e-05/1.309, allocations: 47.89 kB / 1.326 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006901/1.31, allocations: 1.05 MB / 1.327 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/1.31, allocations: 303 kB / 1.327 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/1.31, allocations: 159.8 kB / 1.328 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.86e-05/1.31, allocations: 305.1 kB / 1.328 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/1.311, allocations: 0.6368 MB / 1.329 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/1.313, allocations: 1.043 MB / 1.33 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/1.315, allocations: 1.609 MB / 1.331 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/1.315, allocations: 6.547 kB / 1.331 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.003123/1.319, allocations: 1.956 MB / 1.333 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002426/1.319, allocations: 414.6 kB / 1.333 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/1.319, allocations: 9.406 kB / 1.333 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/1.319, allocations: 16.03 kB / 1.333 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/1.32, allocations: 335.9 kB / 1.334 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.367e-05/1.32, allocations: 30.19 kB / 1.334 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/1.322, allocations: 191 kB / 1.334 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.651e-05/1.322, allocations: 67.23 kB / 1.334 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.781e-06/1.322, allocations: 5.922 kB / 1.334 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002855/1.325, allocations: 1.743 MB / 1.336 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.325, allocations: 9.969 kB / 1.336 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/1.325, allocations: 14.75 kB / 1.336 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/1.326, allocations: 346.2 kB / 1.336 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/1.326, allocations: 26.33 kB / 1.336 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/1.327, allocations: 188 kB / 1.336 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.993e-05/1.327, allocations: 60.86 kB / 1.336 GB, free: 3.945 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 164 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0007944/1.328, allocations: 0.6504 MB / 1.337 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002246/1.328, allocations: 216 kB / 1.337 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002584/1.331, allocations: 1.237 MB / 1.338 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/1.331, allocations: 6.5 kB / 1.338 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/1.331, allocations: 0 / 1.338 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002138/1.333, allocations: 1.289 MB / 1.34 GB, free: 2.656 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005121/1.338, allocations: 3.173 MB / 1.343 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/1.338, allocations: 0 / 1.343 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/1.34, allocations: 211.4 kB / 1.343 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000282/1.34, allocations: 46.33 kB / 1.343 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000176/1.34, allocations: 27.5 kB / 1.343 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/1.341, allocations: 1.422 MB / 1.344 GB, free: 15.47 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.341, allocations: 2.906 kB / 1.344 GB, free: 15.47 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004053/1.346, allocations: 1.862 MB / 1.346 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009384/1.346, allocations: 394.2 kB / 1.347 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004458/1.347, allocations: 23.3 kB / 1.347 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/1.349, allocations: 155.1 kB / 1.347 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/1.349, allocations: 65.45 kB / 1.347 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-05/1.349, allocations: 32.25 kB / 1.347 GB, free: 14.02 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002326/1.351, allocations: 1.428 MB / 1.348 GB, free: 13.25 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.21e-07/1.351, allocations: 0 / 1.348 GB, free: 13.25 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003018/1.354, allocations: 1.117 MB / 1.349 GB, free: 13.03 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005262/1.359, allocations: 3.043 MB / 1.352 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004195/1.364, allocations: 2.392 MB / 1.355 GB, free: 10.19 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.364, allocations: 0 / 1.355 GB, free: 10.19 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001265/1.365, allocations: 0.6359 MB / 1.355 GB, free: 9.715 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00439/1.369, allocations: 0.959 MB / 1.356 GB, free: 8.766 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03269/1.402, allocations: 18.18 MB / 1.374 GB, free: 5.387 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/1.404, allocations: 1.656 MB / 1.376 GB, free: 3.695 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002258/1.406, allocations: 0.5636 MB / 1.376 GB, free: 3.129 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/1.407, allocations: 0.9366 MB / 1.377 GB, free: 2.191 MB / 1.029 GB Notification: Performance of SimCode: time 6.02e-07/1.407, allocations: 0 / 1.377 GB, free: 2.191 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.397/2.804, allocations: 54.05 MB / 1.43 GB, free: 12.92 MB / 1.092 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004208/2.805, allocations: 285.5 kB / 1.43 GB, free: 12.55 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.818/7.623, allocations: 0 / 1.43 GB, free: 12.55 MB / 1.092 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_10_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)