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.001515/0.001515, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001773/0.001773, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.453/1.453, allocations: 222.9 MB / 239.8 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.88/2.88, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.56 kB / 0.9113 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4755/0.4768, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 1.365/1.841, allocations: 310.9 MB / 1.371 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0424/1.884, allocations: 29.61 MB / 1.4 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005374/1.889, allocations: 76.56 kB / 1.4 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01275/1.902, allocations: 4.564 MB / 1.405 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0107/1.913, allocations: 2.847 MB / 1.407 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.008813/1.922, allocations: 2.369 MB / 1.41 GB, free: 11.45 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.0147/1.936, allocations: 8.976 MB / 1.418 GB, free: 6.828 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004348/1.941, allocations: 1.752 MB / 1.42 GB, free: 5.727 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00644/1.947, allocations: 2.051 MB / 1.422 GB, free: 4.551 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004517/1.952, allocations: 1.507 MB / 1.424 GB, free: 3.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001016/1.953, allocations: 118.6 kB / 1.424 GB, free: 3.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01073/1.963, allocations: 3.885 MB / 1.427 GB, free: 1.438 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001613/1.965, allocations: 0.6997 MB / 1.428 GB, free: 0.7578 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00357/1.969, allocations: 1.236 MB / 1.429 GB, free: 15.51 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01193/1.981, allocations: 5.434 MB / 1.435 GB, free: 10.07 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.981, allocations: 4 kB / 1.435 GB, free: 10.06 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.633e-06/1.981, allocations: 0 / 1.435 GB, free: 10.06 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001479/1.981, allocations: 0 / 1.435 GB, free: 10.06 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.0086/1.989, allocations: 2.92 MB / 1.438 GB, free: 7.07 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/1.99, allocations: 12.03 kB / 1.438 GB, free: 7.059 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006709/1.996, allocations: 0.9297 MB / 1.438 GB, free: 6.125 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/2.008, allocations: 5.639 MB / 1.444 GB, free: 444 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004341/2.008, allocations: 158.5 kB / 1.444 GB, free: 284 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005115/2.009, allocations: 135.9 kB / 1.444 GB, free: 148 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004693/2.013, allocations: 1.6 MB / 1.446 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.723e-05/2.014, allocations: 0 / 1.446 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002267/2.014, allocations: 52 kB / 1.446 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.073e-05/2.014, allocations: 46.52 kB / 1.446 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003903/2.018, allocations: 1.357 MB / 1.447 GB, free: 13.02 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.01442/2.032, allocations: 7.513 MB / 1.455 GB, free: 4.992 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/2.034, allocations: 0.6558 MB / 1.455 GB, free: 4.309 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006779/2.034, allocations: 272.7 kB / 1.455 GB, free: 4.039 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003227/2.035, allocations: 194.2 kB / 1.456 GB, free: 3.812 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/2.035, allocations: 30.56 kB / 1.456 GB, free: 3.773 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001093/2.036, allocations: 106.6 kB / 1.456 GB, free: 3.668 MB / 1.061 GB Notification: Performance of pre-optimization done (n=36): time 4.859e-06/2.036, allocations: 0 / 1.456 GB, free: 3.668 MB / 1.061 GB Notification: Performance of matching and sorting (n=36): time 0.003205/2.039, allocations: 1.073 MB / 1.457 GB, free: 2.547 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/2.039, allocations: 55.41 kB / 1.457 GB, free: 2.48 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004723/2.044, allocations: 2.348 MB / 1.459 GB, free: 116 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.566e-05/2.044, allocations: 41.7 kB / 1.459 GB, free: 68 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009927/2.045, allocations: 0.9619 MB / 1.46 GB, free: 15.09 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000133/2.045, allocations: 134.1 kB / 1.46 GB, free: 14.96 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004852/2.046, allocations: 258.3 kB / 1.461 GB, free: 14.7 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001386/2.046, allocations: 345.9 kB / 1.461 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/2.047, allocations: 0.536 MB / 1.461 GB, free: 13.82 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/2.049, allocations: 0.8051 MB / 1.462 GB, free: 12.9 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/2.051, allocations: 1.152 MB / 1.463 GB, free: 11.65 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/2.051, allocations: 4 kB / 1.463 GB, free: 11.65 MB / 1.076 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003633/2.054, allocations: 1.671 MB / 1.465 GB, free: 9.945 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/2.055, allocations: 8 kB / 1.465 GB, free: 9.938 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/2.055, allocations: 8 kB / 1.465 GB, free: 9.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001905/2.055, allocations: 36.84 kB / 1.465 GB, free: 9.891 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/2.056, allocations: 243.9 kB / 1.465 GB, free: 9.652 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/2.057, allocations: 1.408 MB / 1.467 GB, free: 8.105 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/2.059, allocations: 204.2 kB / 1.467 GB, free: 7.906 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/2.06, allocations: 43.98 kB / 1.467 GB, free: 7.863 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002122/2.062, allocations: 1.027 MB / 1.468 GB, free: 6.836 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001427/2.063, allocations: 0.7934 MB / 1.469 GB, free: 5.93 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002045/2.065, allocations: 1.132 MB / 1.47 GB, free: 4.699 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.414e-06/2.065, allocations: 0 / 1.47 GB, free: 4.699 MB / 1.076 GB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.003414/2.069, allocations: 1.647 MB / 1.471 GB, free: 3.02 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/2.069, allocations: 8 kB / 1.471 GB, free: 3.012 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/2.069, allocations: 8.312 kB / 1.471 GB, free: 3.004 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000103/2.069, allocations: 44.78 kB / 1.471 GB, free: 2.957 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/2.07, allocations: 235.7 kB / 1.472 GB, free: 2.727 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/2.071, allocations: 1.405 MB / 1.473 GB, free: 1.188 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/2.073, allocations: 182.1 kB / 1.473 GB, free: 1.012 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/2.073, allocations: 39.98 kB / 1.473 GB, free: 0.9727 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.0003095/2.074, allocations: 228 kB / 1.473 GB, free: 0.7422 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004845/2.074, allocations: 205.4 kB / 1.474 GB, free: 0.5391 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/2.076, allocations: 0.7948 MB / 1.474 GB, free: 15.71 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/2.076, allocations: 8 kB / 1.474 GB, free: 15.7 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/2.076, allocations: 0 / 1.474 GB, free: 15.7 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/2.076, allocations: 0 / 1.474 GB, free: 15.7 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.004892/2.081, allocations: 2.196 MB / 1.477 GB, free: 13.4 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/2.081, allocations: 3.938 kB / 1.477 GB, free: 13.4 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005936/2.082, allocations: 87.88 kB / 1.477 GB, free: 13.31 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001021/2.082, allocations: 40.94 kB / 1.477 GB, free: 13.27 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.27e-05/2.082, allocations: 11.98 kB / 1.477 GB, free: 13.26 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/2.083, allocations: 1.401 MB / 1.478 GB, free: 11.72 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/2.083, allocations: 7.969 kB / 1.478 GB, free: 11.71 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/2.085, allocations: 0.8935 MB / 1.479 GB, free: 10.76 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008492/2.086, allocations: 354.2 kB / 1.479 GB, free: 10.39 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004426/2.086, allocations: 12 kB / 1.479 GB, free: 10.38 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/2.088, allocations: 103.8 kB / 1.479 GB, free: 10.28 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.455e-05/2.088, allocations: 31.91 kB / 1.479 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.135e-05/2.088, allocations: 15.98 kB / 1.479 GB, free: 10.23 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003236/2.091, allocations: 1.639 MB / 1.481 GB, free: 8.586 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.01e-07/2.091, allocations: 0 / 1.481 GB, free: 8.586 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003098/2.094, allocations: 0.9008 MB / 1.482 GB, free: 7.684 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.001173/2.095, allocations: 450.8 kB / 1.482 GB, free: 7.23 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.004267/2.1, allocations: 1.859 MB / 1.484 GB, free: 5.348 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/2.1, allocations: 0 / 1.484 GB, free: 5.348 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008066/2.1, allocations: 368.1 kB / 1.484 GB, free: 4.977 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006036/2.107, allocations: 1.14 MB / 1.486 GB, free: 3.852 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007563/2.114, allocations: 3.89 MB / 1.489 GB, free: 15.9 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001918/2.116, allocations: 1.541 MB / 1.491 GB, free: 14.32 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002843/2.119, allocations: 477.8 kB / 1.491 GB, free: 13.86 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004758/2.119, allocations: 135.4 kB / 1.491 GB, free: 13.72 MB / 1.107 GB Notification: Performance of SimCode: time 9.41e-07/2.119, allocations: 0 / 1.491 GB, free: 13.72 MB / 1.107 GB Notification: Performance of Templates: time 0.07697/2.196, allocations: 40.08 MB / 1.531 GB, free: 6.062 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)