Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFan.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFan") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009477/0.0009477, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.008237/0.008237, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.471/1.471, 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 12.0.0-master/package.mo): time 2.886/2.886, allocations: 473.4 MB / 0.7469 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004, allocations: 10.06 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4217, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 1.253/1.674, allocations: 306.7 MB / 1.374 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04407/1.718, allocations: 29.22 MB / 1.402 GB, free: 8.535 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005013/1.724, allocations: 74.88 kB / 1.402 GB, free: 8.531 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0118/1.735, allocations: 4.55 MB / 1.407 GB, free: 7.297 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01181/1.747, allocations: 2.846 MB / 1.409 GB, free: 5.195 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.008295/1.756, allocations: 2.366 MB / 1.412 GB, free: 3.445 MB / 1.014 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.1666666666666667}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01603/1.772, allocations: 8.982 MB / 1.421 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003856/1.775, allocations: 1.627 MB / 1.422 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006774/1.782, allocations: 1.945 MB / 1.424 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004686/1.787, allocations: 1.38 MB / 1.425 GB, free: 11.94 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0005751/1.788, allocations: 70.16 kB / 1.425 GB, free: 11.94 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009929/1.798, allocations: 3.838 MB / 1.429 GB, free: 9.719 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.00154/1.799, allocations: 0.6281 MB / 1.43 GB, free: 9.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002503/1.802, allocations: 1.174 MB / 1.431 GB, free: 8.547 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0139/1.816, allocations: 5.314 MB / 1.436 GB, free: 4.855 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/1.816, allocations: 3.984 kB / 1.436 GB, free: 4.852 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.849e-06/1.816, allocations: 4 kB / 1.436 GB, free: 4.848 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001475/1.816, allocations: 0 / 1.436 GB, free: 4.848 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.006363/1.822, allocations: 2.437 MB / 1.438 GB, free: 2.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.647e-05/1.822, allocations: 12.03 kB / 1.439 GB, free: 2.328 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006822/1.829, allocations: 0.9921 MB / 1.439 GB, free: 1.332 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01175/1.841, allocations: 5.633 MB / 1.445 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004606/1.841, allocations: 174.5 kB / 1.445 GB, free: 11.47 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004278/1.842, allocations: 128 kB / 1.445 GB, free: 11.35 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003948/1.846, allocations: 1.611 MB / 1.447 GB, free: 9.676 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/1.846, allocations: 3.938 kB / 1.447 GB, free: 9.672 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/1.846, allocations: 56 kB / 1.447 GB, free: 9.617 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.129e-05/1.846, allocations: 50.45 kB / 1.447 GB, free: 9.566 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003678/1.85, allocations: 1.376 MB / 1.448 GB, free: 8.184 MB / 1.045 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.01297/1.863, allocations: 7.532 MB / 1.456 GB, free: 136 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/1.865, allocations: 0.6598 MB / 1.456 GB, free: 15.44 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007005/1.865, allocations: 278.8 kB / 1.457 GB, free: 15.17 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003379/1.866, allocations: 187 kB / 1.457 GB, free: 14.95 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/1.866, allocations: 42.56 kB / 1.457 GB, free: 14.9 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001043/1.867, allocations: 102.6 kB / 1.457 GB, free: 14.8 MB / 1.061 GB Notification: Performance of pre-optimization done (n=36): time 2.525e-06/1.867, allocations: 0 / 1.457 GB, free: 14.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=36): time 0.002994/1.87, allocations: 1.084 MB / 1.458 GB, free: 13.67 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/1.87, allocations: 55.41 kB / 1.458 GB, free: 13.6 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003901/1.874, allocations: 2.36 MB / 1.46 GB, free: 11.22 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/1.874, allocations: 37.7 kB / 1.46 GB, free: 11.18 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/1.875, allocations: 0.9649 MB / 1.461 GB, free: 10.2 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/1.875, allocations: 130.2 kB / 1.461 GB, free: 10.07 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/1.875, allocations: 121.6 kB / 1.462 GB, free: 9.949 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001926/1.875, allocations: 349.9 kB / 1.462 GB, free: 9.602 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/1.877, allocations: 0.5332 MB / 1.462 GB, free: 9.062 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/1.878, allocations: 0.8168 MB / 1.463 GB, free: 8.133 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002279/1.881, allocations: 1.164 MB / 1.464 GB, free: 6.875 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/1.881, allocations: 4 kB / 1.464 GB, free: 6.871 MB / 1.061 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003774/1.885, allocations: 1.683 MB / 1.466 GB, free: 5.156 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002439/1.885, allocations: 307.1 kB / 1.466 GB, free: 4.754 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/1.885, allocations: 8 kB / 1.466 GB, free: 4.746 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001915/1.885, allocations: 32.84 kB / 1.466 GB, free: 4.711 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/1.886, allocations: 247.6 kB / 1.467 GB, free: 4.469 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/1.888, allocations: 1.416 MB / 1.468 GB, free: 2.918 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/1.89, allocations: 216.7 kB / 1.468 GB, free: 2.707 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/1.89, allocations: 43.98 kB / 1.468 GB, free: 2.664 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/1.89, allocations: 7.984 kB / 1.468 GB, free: 2.656 MB / 1.061 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003052/1.894, allocations: 1.438 MB / 1.47 GB, free: 1.195 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/1.894, allocations: 8 kB / 1.47 GB, free: 1.188 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001008/1.894, allocations: 40.78 kB / 1.47 GB, free: 1.145 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/1.895, allocations: 231.9 kB / 1.47 GB, free: 0.918 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/1.896, allocations: 1.416 MB / 1.471 GB, free: 15.37 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/1.898, allocations: 188.3 kB / 1.471 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.563e-05/1.898, allocations: 43.98 kB / 1.471 GB, free: 15.14 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (105): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * 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 prepare postOptimizeDAE: time 0.001474/1.9, allocations: 0.6543 MB / 1.472 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003925/1.9, allocations: 201.4 kB / 1.472 GB, free: 14.28 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/1.902, allocations: 0.7911 MB / 1.473 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.902, allocations: 4 kB / 1.473 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.902, allocations: 4 kB / 1.473 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.902, allocations: 0 / 1.473 GB, free: 13.44 MB / 1.076 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.004313/1.906, allocations: 2.208 MB / 1.475 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/1.906, allocations: 7.938 kB / 1.475 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006006/1.907, allocations: 91.86 kB / 1.475 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-05/1.907, allocations: 25.08 kB / 1.475 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/1.907, allocations: 15.92 kB / 1.475 GB, free: 10.99 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/1.908, allocations: 1.408 MB / 1.477 GB, free: 9.453 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.908, allocations: 0 / 1.477 GB, free: 9.453 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/1.91, allocations: 0.9086 MB / 1.478 GB, free: 8.484 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008358/1.911, allocations: 366.2 kB / 1.478 GB, free: 8.105 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/1.911, allocations: 8 kB / 1.478 GB, free: 8.098 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/1.913, allocations: 111.8 kB / 1.478 GB, free: 7.988 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/1.913, allocations: 27.91 kB / 1.478 GB, free: 7.961 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.536e-05/1.913, allocations: 15.98 kB / 1.478 GB, free: 7.945 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002888/1.916, allocations: 1.646 MB / 1.48 GB, free: 6.289 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.71e-07/1.916, allocations: 0 / 1.48 GB, free: 6.289 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003071/1.919, allocations: 0.9047 MB / 1.481 GB, free: 5.383 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.001028/1.92, allocations: 446.8 kB / 1.481 GB, free: 4.934 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004575/1.924, allocations: 1.882 MB / 1.483 GB, free: 3.023 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.924, allocations: 5.188 kB / 1.483 GB, free: 3.02 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008816/1.925, allocations: 375.1 kB / 1.483 GB, free: 2.641 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007634/1.933, allocations: 1.161 MB / 1.484 GB, free: 1.5 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007803/1.941, allocations: 3.928 MB / 1.488 GB, free: 13.51 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/1.942, allocations: 1.534 MB / 1.49 GB, free: 11.95 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002587/1.945, allocations: 477.7 kB / 1.49 GB, free: 11.48 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003632/1.945, allocations: 139.4 kB / 1.49 GB, free: 11.34 MB / 1.092 GB Notification: Performance of SimCode: time 1.252e-06/1.945, allocations: 0 / 1.49 GB, free: 11.34 MB / 1.092 GB Notification: Performance of Templates: time 0.07585/2.021, allocations: 40.35 MB / 1.53 GB, free: 3.406 MB / 1.123 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFan.makefile (rm -f Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)