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.001481/0.001481, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001736/0.001736, allocations: 201.6 kB / 16.14 MB, free: 6.793 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.492/1.492, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.004/3.004, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001582, allocations: 68.72 kB / 0.9113 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4129, allocations: 159.9 MB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 1.28/1.693, allocations: 310.9 MB / 1.371 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04724/1.741, allocations: 29.62 MB / 1.4 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005307/1.746, allocations: 73.16 kB / 1.4 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01227/1.758, allocations: 4.563 MB / 1.405 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01066/1.769, allocations: 2.842 MB / 1.407 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.008252/1.777, allocations: 2.382 MB / 1.41 GB, free: 11.5 MB / 1.029 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088: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.01513/1.792, allocations: 8.976 MB / 1.418 GB, free: 6.875 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004405/1.797, allocations: 1.755 MB / 1.42 GB, free: 5.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007274/1.804, allocations: 2.048 MB / 1.422 GB, free: 4.598 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004552/1.809, allocations: 1.498 MB / 1.424 GB, free: 3.715 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001026/1.81, allocations: 119.8 kB / 1.424 GB, free: 3.715 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009615/1.819, allocations: 3.888 MB / 1.427 GB, free: 1.488 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001497/1.821, allocations: 0.7046 MB / 1.428 GB, free: 0.8047 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003388/1.824, allocations: 1.24 MB / 1.429 GB, free: 15.55 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01162/1.836, allocations: 5.426 MB / 1.435 GB, free: 10.11 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/1.836, allocations: 4 kB / 1.435 GB, free: 10.11 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.023e-06/1.836, allocations: 0 / 1.435 GB, free: 10.11 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001596/1.836, allocations: 0 / 1.435 GB, free: 10.11 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.00798/1.844, allocations: 2.92 MB / 1.438 GB, free: 7.117 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/1.844, allocations: 8.031 kB / 1.438 GB, free: 7.109 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006511/1.851, allocations: 0.9414 MB / 1.438 GB, free: 6.164 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0119/1.863, allocations: 5.634 MB / 1.444 GB, free: 488 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004456/1.863, allocations: 154.5 kB / 1.444 GB, free: 332 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005983/1.864, allocations: 135.9 kB / 1.444 GB, free: 196 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00484/1.869, allocations: 1.596 MB / 1.446 GB, free: 14.53 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/1.869, allocations: 0 / 1.446 GB, free: 14.53 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002038/1.869, allocations: 52 kB / 1.446 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.429e-05/1.869, allocations: 46.52 kB / 1.446 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003836/1.873, allocations: 1.364 MB / 1.447 GB, free: 13.06 MB / 1.061 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.01309/1.886, allocations: 7.505 MB / 1.455 GB, free: 5.043 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/1.888, allocations: 0.6581 MB / 1.455 GB, free: 4.359 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006949/1.888, allocations: 272.7 kB / 1.455 GB, free: 4.09 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003593/1.889, allocations: 194.2 kB / 1.456 GB, free: 3.863 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/1.889, allocations: 46.55 kB / 1.456 GB, free: 3.809 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009746/1.89, allocations: 94.66 kB / 1.456 GB, free: 3.715 MB / 1.061 GB Notification: Performance of pre-optimization done (n=36): time 3.567e-06/1.89, allocations: 4 kB / 1.456 GB, free: 3.711 MB / 1.061 GB Notification: Performance of matching and sorting (n=36): time 0.003061/1.893, allocations: 1.073 MB / 1.457 GB, free: 2.59 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/1.893, allocations: 59.41 kB / 1.457 GB, free: 2.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004308/1.897, allocations: 2.352 MB / 1.459 GB, free: 152 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.437e-05/1.897, allocations: 33.7 kB / 1.459 GB, free: 112 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009725/1.898, allocations: 0.9572 MB / 1.46 GB, free: 15.14 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/1.898, allocations: 142.1 kB / 1.46 GB, free: 15 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004737/1.899, allocations: 258.3 kB / 1.461 GB, free: 14.74 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.899, allocations: 349.9 kB / 1.461 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/1.9, allocations: 0.5359 MB / 1.461 GB, free: 13.85 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/1.902, allocations: 0.809 MB / 1.462 GB, free: 12.93 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002173/1.904, allocations: 1.136 MB / 1.463 GB, free: 11.7 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/1.904, allocations: 0 / 1.463 GB, free: 11.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003666/1.908, allocations: 1.675 MB / 1.465 GB, free: 9.992 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/1.908, allocations: 8 kB / 1.465 GB, free: 9.984 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/1.908, allocations: 8 kB / 1.465 GB, free: 9.977 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001768/1.908, allocations: 33.16 kB / 1.465 GB, free: 9.941 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/1.909, allocations: 247.6 kB / 1.465 GB, free: 9.699 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/1.91, allocations: 1.404 MB / 1.467 GB, free: 8.156 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002242/1.913, allocations: 204.2 kB / 1.467 GB, free: 7.957 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/1.913, allocations: 51.95 kB / 1.467 GB, free: 7.906 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002139/1.915, allocations: 1.023 MB / 1.468 GB, free: 6.883 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001385/1.916, allocations: 0.7934 MB / 1.469 GB, free: 5.977 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002102/1.918, allocations: 1.132 MB / 1.47 GB, free: 4.746 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.384e-05/1.918, allocations: 4 kB / 1.47 GB, free: 4.742 MB / 1.076 GB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.003528/1.922, allocations: 1.647 MB / 1.471 GB, free: 3.062 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.922, allocations: 8 kB / 1.471 GB, free: 3.055 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/1.922, allocations: 8 kB / 1.471 GB, free: 3.047 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001051/1.922, allocations: 32.84 kB / 1.471 GB, free: 3.012 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/1.923, allocations: 235.9 kB / 1.472 GB, free: 2.781 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/1.924, allocations: 1.413 MB / 1.473 GB, free: 1.234 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002686/1.927, allocations: 180.2 kB / 1.473 GB, free: 1.059 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/1.927, allocations: 36 kB / 1.473 GB, free: 1.023 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.0005085/1.928, allocations: 232 kB / 1.473 GB, free: 0.7891 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000772/1.929, allocations: 205.4 kB / 1.474 GB, free: 0.5859 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002752/1.931, allocations: 0.7948 MB / 1.474 GB, free: 15.75 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/1.931, allocations: 8.031 kB / 1.474 GB, free: 15.74 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.931, allocations: 0 / 1.474 GB, free: 15.74 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.931, allocations: 0 / 1.474 GB, free: 15.74 MB / 1.092 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.006339/1.938, allocations: 2.196 MB / 1.477 GB, free: 13.45 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/1.938, allocations: 7.938 kB / 1.477 GB, free: 13.44 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006342/1.938, allocations: 92.09 kB / 1.477 GB, free: 13.35 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/1.939, allocations: 24.84 kB / 1.477 GB, free: 13.32 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.514e-05/1.939, allocations: 15.98 kB / 1.477 GB, free: 13.31 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/1.94, allocations: 1.393 MB / 1.478 GB, free: 11.78 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/1.94, allocations: 7.938 kB / 1.478 GB, free: 11.77 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/1.942, allocations: 0.8896 MB / 1.479 GB, free: 10.82 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/1.943, allocations: 358.2 kB / 1.479 GB, free: 10.45 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006554/1.944, allocations: 19.94 kB / 1.479 GB, free: 10.43 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/1.946, allocations: 107.8 kB / 1.479 GB, free: 10.33 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/1.946, allocations: 27.91 kB / 1.479 GB, free: 10.3 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.13e-05/1.946, allocations: 15.98 kB / 1.479 GB, free: 10.29 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.004021/1.95, allocations: 1.635 MB / 1.481 GB, free: 8.641 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.81e-07/1.95, allocations: 0 / 1.481 GB, free: 8.641 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004299/1.954, allocations: 0.9048 MB / 1.482 GB, free: 7.734 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.001622/1.956, allocations: 446.8 kB / 1.482 GB, free: 7.285 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.004697/1.961, allocations: 1.863 MB / 1.484 GB, free: 5.398 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.961, allocations: 1.25 kB / 1.484 GB, free: 5.398 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008396/1.961, allocations: 366.8 kB / 1.484 GB, free: 5.027 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006239/1.968, allocations: 1.136 MB / 1.486 GB, free: 3.906 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008106/1.976, allocations: 3.909 MB / 1.489 GB, free: 15.94 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001835/1.978, allocations: 1.534 MB / 1.491 GB, free: 14.37 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002828/1.981, allocations: 477.8 kB / 1.491 GB, free: 13.9 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005147/1.981, allocations: 139.4 kB / 1.491 GB, free: 13.77 MB / 1.107 GB Notification: Performance of SimCode: time 1.352e-06/1.981, allocations: 0 / 1.491 GB, free: 13.77 MB / 1.107 GB Notification: Performance of Templates: time 0.07633/2.057, allocations: 40.07 MB / 1.531 GB, free: 6.113 MB / 1.139 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)