Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001138/0.001139, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001304/0.001304, allocations: 189.1 kB / 16.25 MB, free: 6.625 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.415/1.415, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.929/2.929, allocations: 472.6 MB / 0.7448 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002458/0.002458, allocations: 70.95 kB / 0.9115 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4218, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 1.121/1.543, allocations: 309.1 MB / 1.37 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03985/1.583, allocations: 29.15 MB / 1.398 GB, free: 2.102 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005795/1.589, allocations: 77.5 kB / 1.398 GB, free: 2.098 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01188/1.601, allocations: 4.791 MB / 1.403 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01032/1.611, allocations: 2.854 MB / 1.406 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.008006/1.619, allocations: 2.426 MB / 1.408 GB, free: 13.22 MB / 1.029 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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.01352/1.633, allocations: 7.579 MB / 1.415 GB, free: 9.188 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004919/1.638, allocations: 2.06 MB / 1.417 GB, free: 7.875 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00724/1.645, allocations: 2.386 MB / 1.42 GB, free: 6.418 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004356/1.65, allocations: 1.576 MB / 1.421 GB, free: 5.449 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001052/1.651, allocations: 247.4 kB / 1.421 GB, free: 5.449 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009769/1.66, allocations: 3.71 MB / 1.425 GB, free: 3.406 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001703/1.662, allocations: 0.8249 MB / 1.426 GB, free: 2.812 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003742/1.666, allocations: 1.384 MB / 1.427 GB, free: 1.855 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01189/1.678, allocations: 5.527 MB / 1.433 GB, free: 13.39 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/1.678, allocations: 8 kB / 1.433 GB, free: 13.38 MB / 1.045 GB Notification: Performance of FrontEnd: time 4.849e-06/1.678, allocations: 4 kB / 1.433 GB, free: 13.38 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.000157/1.678, allocations: 0 / 1.433 GB, free: 13.38 MB / 1.045 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.007649/1.686, allocations: 2.916 MB / 1.435 GB, free: 10.39 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/1.686, allocations: 8.031 kB / 1.435 GB, free: 10.38 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006639/1.692, allocations: 0.9336 MB / 1.436 GB, free: 9.445 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/1.704, allocations: 5.629 MB / 1.442 GB, free: 3.762 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004247/1.704, allocations: 162.5 kB / 1.442 GB, free: 3.602 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004846/1.705, allocations: 135.9 kB / 1.442 GB, free: 3.469 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004443/1.709, allocations: 1.6 MB / 1.444 GB, free: 1.809 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/1.709, allocations: 0 / 1.444 GB, free: 1.809 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002144/1.709, allocations: 52 kB / 1.444 GB, free: 1.758 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.431e-05/1.709, allocations: 46.52 kB / 1.444 GB, free: 1.711 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003776/1.713, allocations: 1.36 MB / 1.445 GB, free: 352 kB / 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.01411/1.727, allocations: 7.506 MB / 1.452 GB, free: 8.32 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/1.729, allocations: 0.6586 MB / 1.453 GB, free: 7.637 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007056/1.73, allocations: 276.7 kB / 1.453 GB, free: 7.363 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003221/1.73, allocations: 190.2 kB / 1.454 GB, free: 7.141 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/1.73, allocations: 38.56 kB / 1.454 GB, free: 7.094 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001099/1.731, allocations: 98.64 kB / 1.454 GB, free: 6.996 MB / 1.061 GB Notification: Performance of pre-optimization done (n=36): time 4.068e-06/1.731, allocations: 4 kB / 1.454 GB, free: 6.992 MB / 1.061 GB Notification: Performance of matching and sorting (n=36): time 0.003137/1.734, allocations: 1.081 MB / 1.455 GB, free: 5.863 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/1.734, allocations: 55.41 kB / 1.455 GB, free: 5.797 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004766/1.739, allocations: 2.352 MB / 1.457 GB, free: 3.426 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/1.739, allocations: 37.7 kB / 1.457 GB, free: 3.383 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009705/1.74, allocations: 0.965 MB / 1.458 GB, free: 2.406 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/1.74, allocations: 134.1 kB / 1.458 GB, free: 2.273 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004653/1.741, allocations: 262.3 kB / 1.458 GB, free: 2.012 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001453/1.741, allocations: 345.9 kB / 1.459 GB, free: 1.668 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/1.742, allocations: 0.5398 MB / 1.459 GB, free: 1.121 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/1.744, allocations: 0.809 MB / 1.46 GB, free: 200 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002188/1.746, allocations: 1.148 MB / 1.461 GB, free: 14.95 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/1.746, allocations: 0 / 1.461 GB, free: 14.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003732/1.75, allocations: 1.672 MB / 1.463 GB, free: 13.25 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/1.75, allocations: 11.94 kB / 1.463 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/1.75, allocations: 8 kB / 1.463 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001926/1.75, allocations: 40.84 kB / 1.463 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/1.751, allocations: 232 kB / 1.463 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/1.753, allocations: 1.577 MB / 1.465 GB, free: 11.24 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/1.755, allocations: 206.5 kB / 1.465 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/1.755, allocations: 47.97 kB / 1.465 GB, free: 10.99 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002076/1.757, allocations: 1.027 MB / 1.466 GB, free: 9.965 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001351/1.758, allocations: 0.7895 MB / 1.467 GB, free: 9.062 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001993/1.76, allocations: 1.14 MB / 1.468 GB, free: 7.824 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.498e-06/1.76, allocations: 4 kB / 1.468 GB, free: 7.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.003544/1.764, allocations: 1.655 MB / 1.469 GB, free: 6.133 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/1.764, allocations: 9.562 kB / 1.469 GB, free: 6.125 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/1.764, allocations: 7.938 kB / 1.469 GB, free: 6.117 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001163/1.764, allocations: 36.84 kB / 1.47 GB, free: 6.078 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/1.765, allocations: 231.9 kB / 1.47 GB, free: 5.852 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/1.767, allocations: 1.572 MB / 1.471 GB, free: 4.141 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/1.769, allocations: 180.2 kB / 1.471 GB, free: 3.965 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/1.769, allocations: 43.98 kB / 1.471 GB, free: 3.922 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.0003369/1.769, allocations: 228 kB / 1.472 GB, free: 3.691 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000494/1.77, allocations: 205.3 kB / 1.472 GB, free: 3.488 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/1.772, allocations: 0.794 MB / 1.473 GB, free: 2.656 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/1.772, allocations: 7.938 kB / 1.473 GB, free: 2.648 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/1.772, allocations: 0 / 1.473 GB, free: 2.648 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/1.772, allocations: 7.938 kB / 1.473 GB, free: 2.641 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0049/1.777, allocations: 2.196 MB / 1.475 GB, free: 352 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-06/1.777, allocations: 224 / 1.475 GB, free: 352 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006357/1.777, allocations: 91.88 kB / 1.475 GB, free: 260 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001012/1.778, allocations: 32.83 kB / 1.475 GB, free: 224 kB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.539e-05/1.778, allocations: 11.98 kB / 1.475 GB, free: 212 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/1.779, allocations: 1.556 MB / 1.476 GB, free: 14.51 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/1.779, allocations: 8.031 kB / 1.476 GB, free: 14.5 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/1.781, allocations: 0.9013 MB / 1.477 GB, free: 13.54 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009477/1.782, allocations: 350.3 kB / 1.478 GB, free: 13.18 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005127/1.782, allocations: 12 kB / 1.478 GB, free: 13.17 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/1.784, allocations: 103.8 kB / 1.478 GB, free: 13.07 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.343e-05/1.784, allocations: 35.84 kB / 1.478 GB, free: 13.03 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.341e-05/1.784, allocations: 15.98 kB / 1.478 GB, free: 13.02 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003844/1.788, allocations: 1.639 MB / 1.479 GB, free: 11.37 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.11e-07/1.788, allocations: 0 / 1.479 GB, free: 11.37 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004097/1.792, allocations: 0.9047 MB / 1.48 GB, free: 10.46 MB / 1.092 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.001451/1.793, allocations: 462.1 kB / 1.481 GB, free: 10 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.004508/1.798, allocations: 1.886 MB / 1.483 GB, free: 8.09 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/1.798, allocations: 4 kB / 1.483 GB, free: 8.086 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008687/1.799, allocations: 364.2 kB / 1.483 GB, free: 7.719 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006423/1.805, allocations: 1.222 MB / 1.484 GB, free: 6.527 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008264/1.813, allocations: 3.917 MB / 1.488 GB, free: 2.551 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001942/1.815, allocations: 1.537 MB / 1.489 GB, free: 0.9805 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002907/1.818, allocations: 489.7 kB / 1.49 GB, free: 0.5 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005061/1.819, allocations: 131.4 kB / 1.49 GB, free: 380 kB / 1.092 GB Notification: Performance of SimCode: time 9.62e-07/1.819, allocations: 7.938 kB / 1.49 GB, free: 372 kB / 1.092 GB Notification: Performance of Templates: time 0.07952/1.898, allocations: 41.23 MB / 1.53 GB, free: 7.594 MB / 1.139 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)