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.00115/0.00115, allocations: 91.45 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.009244/0.009244, allocations: 173.9 kB / 16.27 MB, free: 6.676 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.499/1.499, 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 3/3, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004618/0.0004618, allocations: 8.125 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4246, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 1.201/1.626, allocations: 306.7 MB / 1.374 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04102/1.667, allocations: 29.22 MB / 1.402 GB, free: 8.527 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005771/1.673, allocations: 67.09 kB / 1.402 GB, free: 8.527 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01231/1.685, allocations: 4.56 MB / 1.407 GB, free: 7.277 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01233/1.697, allocations: 2.832 MB / 1.409 GB, free: 5.191 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.008828/1.706, allocations: 2.383 MB / 1.412 GB, free: 3.422 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.01555/1.722, allocations: 8.981 MB / 1.421 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00393/1.726, allocations: 1.624 MB / 1.422 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006777/1.733, allocations: 1.952 MB / 1.424 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004626/1.737, allocations: 1.376 MB / 1.425 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0005722/1.738, allocations: 75.47 kB / 1.425 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0102/1.748, allocations: 3.841 MB / 1.429 GB, free: 9.691 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001698/1.75, allocations: 0.6154 MB / 1.43 GB, free: 9.305 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002854/1.753, allocations: 1.179 MB / 1.431 GB, free: 8.527 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01134/1.764, allocations: 5.311 MB / 1.436 GB, free: 4.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.764, allocations: 0 / 1.436 GB, free: 4.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.936e-06/1.764, allocations: 0 / 1.436 GB, free: 4.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.057e-05/1.764, allocations: 0 / 1.436 GB, free: 4.84 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.005801/1.77, allocations: 2.457 MB / 1.439 GB, free: 2.312 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.77, allocations: 8.031 kB / 1.439 GB, free: 2.305 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006408/1.776, allocations: 0.9921 MB / 1.439 GB, free: 1.309 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01108/1.788, allocations: 5.629 MB / 1.445 GB, free: 11.62 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004098/1.788, allocations: 170.5 kB / 1.445 GB, free: 11.46 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002803/1.788, allocations: 132 kB / 1.445 GB, free: 11.33 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003624/1.792, allocations: 1.615 MB / 1.447 GB, free: 9.652 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.185e-05/1.792, allocations: 4 kB / 1.447 GB, free: 9.648 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/1.792, allocations: 52 kB / 1.447 GB, free: 9.598 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.494e-05/1.792, allocations: 46.52 kB / 1.447 GB, free: 9.551 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003726/1.796, allocations: 1.38 MB / 1.448 GB, free: 8.164 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.01358/1.81, allocations: 7.528 MB / 1.456 GB, free: 120 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/1.811, allocations: 0.6615 MB / 1.456 GB, free: 15.43 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000685/1.812, allocations: 269.6 kB / 1.457 GB, free: 15.16 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003181/1.812, allocations: 194.2 kB / 1.457 GB, free: 14.94 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/1.812, allocations: 34.56 kB / 1.457 GB, free: 14.89 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009858/1.813, allocations: 102.6 kB / 1.457 GB, free: 14.79 MB / 1.061 GB Notification: Performance of pre-optimization done (n=36): time 2.846e-06/1.813, allocations: 0 / 1.457 GB, free: 14.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=36): time 0.002963/1.816, allocations: 1.088 MB / 1.458 GB, free: 13.66 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/1.816, allocations: 55.39 kB / 1.458 GB, free: 13.59 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003845/1.82, allocations: 2.356 MB / 1.46 GB, free: 11.21 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/1.82, allocations: 41.7 kB / 1.46 GB, free: 11.17 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009372/1.821, allocations: 0.9572 MB / 1.461 GB, free: 10.2 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/1.821, allocations: 138.2 kB / 1.461 GB, free: 10.06 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/1.822, allocations: 117.6 kB / 1.461 GB, free: 9.941 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.822, allocations: 353.9 kB / 1.462 GB, free: 9.59 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/1.823, allocations: 0.537 MB / 1.462 GB, free: 9.047 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/1.825, allocations: 0.8207 MB / 1.463 GB, free: 8.113 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002277/1.827, allocations: 1.156 MB / 1.464 GB, free: 6.863 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/1.827, allocations: 0 / 1.464 GB, free: 6.863 MB / 1.061 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004/1.831, allocations: 1.687 MB / 1.466 GB, free: 5.145 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.000296/1.831, allocations: 308.7 kB / 1.466 GB, free: 4.742 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/1.831, allocations: 8 kB / 1.466 GB, free: 4.734 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002299/1.831, allocations: 44.83 kB / 1.466 GB, free: 4.688 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/1.833, allocations: 239.6 kB / 1.467 GB, free: 4.453 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/1.834, allocations: 1.412 MB / 1.468 GB, free: 2.906 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002471/1.836, allocations: 224.6 kB / 1.468 GB, free: 2.688 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-05/1.837, allocations: 43.98 kB / 1.468 GB, free: 2.645 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.856e-06/1.837, allocations: 4 kB / 1.468 GB, free: 2.641 MB / 1.061 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003129/1.84, allocations: 1.438 MB / 1.47 GB, free: 1.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.84, allocations: 8 kB / 1.47 GB, free: 1.172 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.219e-05/1.84, allocations: 36.78 kB / 1.47 GB, free: 1.133 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/1.841, allocations: 243.9 kB / 1.47 GB, free: 0.8945 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/1.842, allocations: 1.405 MB / 1.471 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/1.844, allocations: 188.4 kB / 1.471 GB, free: 15.17 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.141e-05/1.844, allocations: 35.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.001393/1.846, allocations: 0.6575 MB / 1.472 GB, free: 14.47 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003735/1.846, allocations: 209.4 kB / 1.472 GB, free: 14.26 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/1.848, allocations: 0.7911 MB / 1.473 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/1.848, allocations: 4 kB / 1.473 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/1.848, allocations: 4 kB / 1.473 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/1.848, allocations: 0 / 1.473 GB, free: 13.43 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.004198/1.852, allocations: 2.211 MB / 1.475 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.852, allocations: 0 / 1.475 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006174/1.853, allocations: 87.88 kB / 1.475 GB, free: 11.03 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.891e-05/1.853, allocations: 33.06 kB / 1.475 GB, free: 10.99 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/1.853, allocations: 15.92 kB / 1.475 GB, free: 10.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/1.854, allocations: 1.404 MB / 1.477 GB, free: 9.441 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.854, allocations: 8.031 kB / 1.477 GB, free: 9.434 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/1.856, allocations: 0.9052 MB / 1.478 GB, free: 8.469 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006915/1.856, allocations: 366.2 kB / 1.478 GB, free: 8.09 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/1.857, allocations: 7.984 kB / 1.478 GB, free: 8.082 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/1.858, allocations: 115.8 kB / 1.478 GB, free: 7.969 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/1.858, allocations: 19.98 kB / 1.478 GB, free: 7.949 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.355e-05/1.858, allocations: 23.97 kB / 1.478 GB, free: 7.926 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002766/1.861, allocations: 1.646 MB / 1.48 GB, free: 6.27 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.61e-07/1.861, allocations: 0 / 1.48 GB, free: 6.27 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002723/1.864, allocations: 0.8969 MB / 1.481 GB, free: 5.371 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.0009801/1.865, allocations: 446.9 kB / 1.481 GB, free: 4.922 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004154/1.869, allocations: 1.89 MB / 1.483 GB, free: 3.004 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/1.869, allocations: 0 / 1.483 GB, free: 3.004 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007885/1.87, allocations: 364.1 kB / 1.483 GB, free: 2.637 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00754/1.877, allocations: 1.162 MB / 1.484 GB, free: 1.492 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008275/1.885, allocations: 3.93 MB / 1.488 GB, free: 13.5 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/1.887, allocations: 1.534 MB / 1.49 GB, free: 11.93 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002617/1.889, allocations: 477.8 kB / 1.49 GB, free: 11.46 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003583/1.89, allocations: 135.4 kB / 1.49 GB, free: 11.33 MB / 1.092 GB Notification: Performance of SimCode: time 1.253e-06/1.89, allocations: 4 kB / 1.49 GB, free: 11.33 MB / 1.092 GB Notification: Performance of Templates: time 0.07293/1.963, allocations: 40.35 MB / 1.53 GB, free: 3.391 MB / 1.123 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)