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.001846/0.001846, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001916/0.001916, allocations: 193.3 kB / 16.25 MB, free: 6.617 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.454/1.454, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.874/2.874, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 65.31 kB / 0.9115 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4032, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 1.174/1.577, allocations: 309.1 MB / 1.37 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04171/1.619, allocations: 29.14 MB / 1.398 GB, free: 2.082 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004839/1.624, allocations: 79.03 kB / 1.398 GB, free: 2.078 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01176/1.635, allocations: 4.788 MB / 1.403 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01017/1.646, allocations: 2.857 MB / 1.406 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.008239/1.654, allocations: 2.416 MB / 1.408 GB, free: 13.18 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.01446/1.668, allocations: 7.59 MB / 1.415 GB, free: 9.137 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00558/1.674, allocations: 2.053 MB / 1.417 GB, free: 7.832 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008677/1.683, allocations: 2.387 MB / 1.42 GB, free: 6.371 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00484/1.688, allocations: 1.575 MB / 1.421 GB, free: 5.402 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001035/1.689, allocations: 257.1 kB / 1.421 GB, free: 5.395 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009331/1.698, allocations: 3.713 MB / 1.425 GB, free: 3.348 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001554/1.7, allocations: 0.8177 MB / 1.426 GB, free: 2.762 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003613/1.703, allocations: 1.392 MB / 1.427 GB, free: 1.797 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01251/1.716, allocations: 5.527 MB / 1.433 GB, free: 13.33 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.716, allocations: 0 / 1.433 GB, free: 13.33 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.244e-06/1.716, allocations: 4 kB / 1.433 GB, free: 13.33 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001439/1.716, allocations: 0 / 1.433 GB, free: 13.33 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.007856/1.724, allocations: 2.916 MB / 1.435 GB, free: 10.34 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/1.724, allocations: 8.031 kB / 1.435 GB, free: 10.33 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006599/1.73, allocations: 0.9375 MB / 1.436 GB, free: 9.391 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01231/1.743, allocations: 5.634 MB / 1.442 GB, free: 3.703 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004993/1.743, allocations: 158.5 kB / 1.442 GB, free: 3.547 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006655/1.744, allocations: 135.9 kB / 1.442 GB, free: 3.414 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004836/1.749, allocations: 1.596 MB / 1.444 GB, free: 1.758 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/1.749, allocations: 0 / 1.444 GB, free: 1.758 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/1.749, allocations: 59.98 kB / 1.444 GB, free: 1.699 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.544e-05/1.749, allocations: 50.45 kB / 1.444 GB, free: 1.648 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003243/1.752, allocations: 1.357 MB / 1.445 GB, free: 292 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.01196/1.764, allocations: 7.498 MB / 1.453 GB, free: 8.27 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/1.766, allocations: 0.6558 MB / 1.453 GB, free: 7.586 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006699/1.767, allocations: 272.7 kB / 1.453 GB, free: 7.316 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003074/1.767, allocations: 186.2 kB / 1.454 GB, free: 7.098 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/1.767, allocations: 42.56 kB / 1.454 GB, free: 7.047 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008928/1.768, allocations: 102.6 kB / 1.454 GB, free: 6.945 MB / 1.061 GB Notification: Performance of pre-optimization done (n=36): time 2.295e-06/1.768, allocations: 3.938 kB / 1.454 GB, free: 6.941 MB / 1.061 GB Notification: Performance of matching and sorting (n=36): time 0.002801/1.771, allocations: 1.077 MB / 1.455 GB, free: 5.816 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/1.771, allocations: 55.41 kB / 1.455 GB, free: 5.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003412/1.774, allocations: 2.356 MB / 1.457 GB, free: 3.375 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.945e-05/1.774, allocations: 33.7 kB / 1.457 GB, free: 3.336 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008035/1.775, allocations: 0.9611 MB / 1.458 GB, free: 2.363 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/1.775, allocations: 138.1 kB / 1.458 GB, free: 2.227 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003998/1.776, allocations: 262.3 kB / 1.458 GB, free: 1.965 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.776, allocations: 349.9 kB / 1.459 GB, free: 1.617 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/1.777, allocations: 0.536 MB / 1.459 GB, free: 1.074 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/1.778, allocations: 0.8051 MB / 1.46 GB, free: 156 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/1.78, allocations: 1.156 MB / 1.461 GB, free: 14.9 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/1.78, allocations: 0 / 1.461 GB, free: 14.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003446/1.784, allocations: 1.664 MB / 1.463 GB, free: 13.21 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/1.784, allocations: 13.97 kB / 1.463 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/1.784, allocations: 12.88 kB / 1.463 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001793/1.784, allocations: 40.84 kB / 1.463 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/1.785, allocations: 231.7 kB / 1.463 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/1.787, allocations: 1.573 MB / 1.465 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/1.789, allocations: 204.5 kB / 1.465 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/1.789, allocations: 47.97 kB / 1.465 GB, free: 10.95 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002027/1.791, allocations: 1.025 MB / 1.466 GB, free: 9.926 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00133/1.792, allocations: 0.7934 MB / 1.467 GB, free: 9.02 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001908/1.794, allocations: 1.144 MB / 1.468 GB, free: 7.777 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.043e-06/1.794, allocations: 4.938 kB / 1.468 GB, free: 7.773 MB / 1.076 GB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.003294/1.798, allocations: 1.654 MB / 1.469 GB, free: 6.086 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.798, allocations: 8 kB / 1.469 GB, free: 6.078 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.798, allocations: 8.312 kB / 1.469 GB, free: 6.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001068/1.798, allocations: 36.84 kB / 1.47 GB, free: 6.031 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/1.799, allocations: 231.7 kB / 1.47 GB, free: 5.805 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/1.8, allocations: 1.564 MB / 1.471 GB, free: 4.102 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/1.802, allocations: 180.2 kB / 1.471 GB, free: 3.926 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.84e-05/1.802, allocations: 43.98 kB / 1.471 GB, free: 3.883 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.0002908/1.802, allocations: 232 kB / 1.472 GB, free: 3.648 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/1.803, allocations: 205.3 kB / 1.472 GB, free: 3.445 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/1.805, allocations: 0.7979 MB / 1.473 GB, free: 2.609 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/1.805, allocations: 4 kB / 1.473 GB, free: 2.605 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/1.805, allocations: 0 / 1.473 GB, free: 2.605 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/1.805, allocations: 3.938 kB / 1.473 GB, free: 2.602 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00377/1.808, allocations: 2.208 MB / 1.475 GB, free: 300 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/1.808, allocations: 4 kB / 1.475 GB, free: 296 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006571/1.809, allocations: 92.08 kB / 1.475 GB, free: 204 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-05/1.809, allocations: 24.84 kB / 1.475 GB, free: 176 kB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-05/1.809, allocations: 15.98 kB / 1.475 GB, free: 160 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/1.81, allocations: 1.552 MB / 1.476 GB, free: 14.46 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.81, allocations: 4.031 kB / 1.476 GB, free: 14.46 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/1.812, allocations: 0.9052 MB / 1.477 GB, free: 13.5 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007107/1.813, allocations: 350.3 kB / 1.478 GB, free: 13.13 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/1.813, allocations: 8 kB / 1.478 GB, free: 13.12 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/1.814, allocations: 111.8 kB / 1.478 GB, free: 13.02 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/1.814, allocations: 27.91 kB / 1.478 GB, free: 12.99 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-05/1.814, allocations: 15.98 kB / 1.478 GB, free: 12.97 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00263/1.817, allocations: 1.646 MB / 1.479 GB, free: 11.32 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.41e-07/1.817, allocations: 0 / 1.479 GB, free: 11.32 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002673/1.82, allocations: 0.9008 MB / 1.48 GB, free: 10.41 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.001063/1.821, allocations: 450.8 kB / 1.481 GB, free: 9.961 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003979/1.825, allocations: 1.887 MB / 1.483 GB, free: 8.051 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/1.825, allocations: 8.188 kB / 1.483 GB, free: 8.043 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0007526/1.825, allocations: 362.8 kB / 1.483 GB, free: 7.676 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004643/1.83, allocations: 1.229 MB / 1.484 GB, free: 6.484 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00645/1.836, allocations: 3.931 MB / 1.488 GB, free: 2.496 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/1.838, allocations: 1.537 MB / 1.49 GB, free: 0.9258 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002152/1.84, allocations: 477.8 kB / 1.49 GB, free: 468 kB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/1.84, allocations: 131.4 kB / 1.49 GB, free: 336 kB / 1.092 GB Notification: Performance of SimCode: time 7.31e-07/1.84, allocations: 8 kB / 1.49 GB, free: 328 kB / 1.092 GB Notification: Performance of Templates: time 0.0733/1.913, allocations: 41.23 MB / 1.53 GB, free: 7.547 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)