Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_latest_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.001064/0.001064, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001437/0.001437, allocations: 177.2 kB / 16.27 MB, free: 6.664 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.465/1.465, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.665/2.665, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003236, allocations: 8.406 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2512, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.7189/0.9702, allocations: 231 MB / 1.284 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02174/0.992, allocations: 17.55 MB / 1.302 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002812/0.9948, allocations: 77.28 kB / 1.302 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008763/1.004, allocations: 4.363 MB / 1.306 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008143/1.012, allocations: 3.215 MB / 1.309 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005719/1.017, allocations: 2.264 MB / 1.311 GB, free: 1.973 MB / 0.9981 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.011/1.028, allocations: 9.525 MB / 1.32 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002804/1.031, allocations: 1.616 MB / 1.322 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004936/1.036, allocations: 2.31 MB / 1.324 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003133/1.039, allocations: 1.594 MB / 1.326 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005193/1.04, allocations: 83.91 kB / 1.326 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006683/1.047, allocations: 3.952 MB / 1.33 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001076/1.048, allocations: 0.756 MB / 1.331 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002453/1.05, allocations: 1.249 MB / 1.332 GB, free: 17.42 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007033/1.057, allocations: 4.86 MB / 1.337 GB, free: 16.8 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/1.057, allocations: 0 / 1.337 GB, free: 16.8 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.453e-06/1.057, allocations: 2.031 kB / 1.337 GB, free: 16.8 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.314e-05/1.057, allocations: 0 / 1.337 GB, free: 16.8 MB / 1.014 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.004256/1.062, allocations: 2.772 MB / 1.339 GB, free: 15.24 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/1.062, allocations: 8.938 kB / 1.339 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002107/1.062, allocations: 196.6 kB / 1.339 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005063/1.067, allocations: 0.9281 MB / 1.34 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003747/1.071, allocations: 2.677 MB / 1.343 GB, free: 14.42 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00038/1.071, allocations: 180.6 kB / 1.343 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002099/1.071, allocations: 144.5 kB / 1.343 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002951/1.074, allocations: 1.695 MB / 1.345 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/1.074, allocations: 13.3 kB / 1.345 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/1.074, allocations: 54.53 kB / 1.345 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.382e-05/1.074, allocations: 50.7 kB / 1.345 GB, free: 14.17 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003446/1.078, allocations: 1.529 MB / 1.347 GB, free: 13.91 MB / 1.014 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.01005/1.088, allocations: 7.981 MB / 1.354 GB, free: 8.695 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00265/1.091, allocations: 1.649 MB / 1.356 GB, free: 7.82 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/1.092, allocations: 0.5486 MB / 1.356 GB, free: 7.727 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/1.093, allocations: 0.8095 MB / 1.357 GB, free: 6.914 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/1.094, allocations: 0.5786 MB / 1.358 GB, free: 6.719 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007123/1.095, allocations: 127.7 kB / 1.358 GB, free: 6.656 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 2.485e-06/1.095, allocations: 0 / 1.358 GB, free: 6.656 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.003862/1.099, allocations: 1.704 MB / 1.36 GB, free: 6.148 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/1.099, allocations: 68.81 kB / 1.36 GB, free: 6.082 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002355/1.101, allocations: 2.141 MB / 1.362 GB, free: 5.488 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.281e-05/1.101, allocations: 45.95 kB / 1.362 GB, free: 5.457 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007447/1.102, allocations: 1.053 MB / 1.363 GB, free: 5.012 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000264/1.102, allocations: 301.3 kB / 1.363 GB, free: 4.801 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/1.103, allocations: 158.7 kB / 1.363 GB, free: 4.758 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.103, allocations: 302 kB / 1.364 GB, free: 4.461 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/1.104, allocations: 0.6407 MB / 1.364 GB, free: 4.359 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/1.106, allocations: 1.041 MB / 1.365 GB, free: 3.805 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002807/1.108, allocations: 1.606 MB / 1.367 GB, free: 3.262 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/1.108, allocations: 2.094 kB / 1.367 GB, free: 3.262 MB / 1.014 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.00323/1.112, allocations: 1.963 MB / 1.369 GB, free: 2.836 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002143/1.112, allocations: 403 kB / 1.369 GB, free: 2.355 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/1.112, allocations: 9.031 kB / 1.369 GB, free: 2.355 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/1.112, allocations: 15.44 kB / 1.369 GB, free: 2.355 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/1.113, allocations: 341.6 kB / 1.369 GB, free: 2.305 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.543e-05/1.113, allocations: 22.67 kB / 1.369 GB, free: 2.301 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/1.115, allocations: 196 kB / 1.37 GB, free: 2.238 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-05/1.115, allocations: 64.77 kB / 1.37 GB, free: 2.23 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.891e-06/1.115, allocations: 2.469 kB / 1.37 GB, free: 2.23 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003099/1.118, allocations: 1.756 MB / 1.371 GB, free: 1.461 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.118, allocations: 9.594 kB / 1.371 GB, free: 1.461 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/1.118, allocations: 16.53 kB / 1.371 GB, free: 1.461 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/1.119, allocations: 344 kB / 1.372 GB, free: 1.395 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/1.119, allocations: 22.16 kB / 1.372 GB, free: 1.395 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/1.121, allocations: 196.2 kB / 1.372 GB, free: 1.309 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-05/1.121, allocations: 61.3 kB / 1.372 GB, free: 1.293 MB / 1.014 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.001035/1.122, allocations: 0.6486 MB / 1.373 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002534/1.122, allocations: 225 kB / 1.373 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002659/1.125, allocations: 1.227 MB / 1.374 GB, free: 52 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/1.125, allocations: 9.438 kB / 1.374 GB, free: 52 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/1.125, allocations: 0 / 1.374 GB, free: 52 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002258/1.127, allocations: 1.295 MB / 1.375 GB, free: 15.18 MB / 1.029 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.005443/1.133, allocations: 3.172 MB / 1.378 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.133, allocations: 0 / 1.378 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000939/1.134, allocations: 200.7 kB / 1.379 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001979/1.134, allocations: 57.36 kB / 1.379 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.199e-05/1.134, allocations: 26.3 kB / 1.379 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/1.135, allocations: 1.415 MB / 1.38 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.135, allocations: 2.531 kB / 1.38 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003516/1.139, allocations: 1.859 MB / 1.382 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006685/1.139, allocations: 394.1 kB / 1.382 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/1.14, allocations: 18.72 kB / 1.382 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.141, allocations: 157.7 kB / 1.382 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/1.141, allocations: 67.16 kB / 1.383 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-05/1.141, allocations: 33.89 kB / 1.383 GB, free: 10.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001817/1.143, allocations: 1.425 MB / 1.384 GB, free: 9.391 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.462e-06/1.143, allocations: 0 / 1.384 GB, free: 9.391 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002689/1.146, allocations: 1.125 MB / 1.385 GB, free: 9.164 MB / 1.029 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.005426/1.151, allocations: 3.045 MB / 1.388 GB, free: 6.492 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004458/1.156, allocations: 2.384 MB / 1.39 GB, free: 4.164 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.156, allocations: 0 / 1.39 GB, free: 4.164 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001294/1.157, allocations: 0.6384 MB / 1.391 GB, free: 3.531 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004532/1.161, allocations: 0.9609 MB / 1.392 GB, free: 2.578 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03183/1.193, allocations: 18.17 MB / 1.41 GB, free: 15.2 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/1.195, allocations: 1.664 MB / 1.411 GB, free: 13.51 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002197/1.197, allocations: 0.5636 MB / 1.412 GB, free: 12.94 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/1.198, allocations: 0.9366 MB / 1.413 GB, free: 12 MB / 1.061 GB Notification: Performance of SimCode: time 6.52e-07/1.198, allocations: 0 / 1.413 GB, free: 12 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.779/2.977, allocations: 54.04 MB / 1.466 GB, free: 6.734 MB / 1.107 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002627/2.978, allocations: 281.2 kB / 1.466 GB, free: 6.367 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.198/6.175, allocations: 0 / 1.466 GB, free: 6.367 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)